how do you get rid of a keylogger?

stupid question but, my virus protection thing didnt show up and ppl said this thing was a keylogger. please help =(