hacked

i think i have been hacked what do i do it keeps asking for money i have no idea about this it shows up on my desktop and says i have been infected all i know to do is beat this thing with hammer i cant access spybot or adware any clue