Stop spam

I had recently installed elgg and the spam bots already attacked within minutes, can some body tell me how to avoid spam from this bots. Ive tried recaptcha plugin but nothing happens.