What OS are you running?
Have you tried scanning in Safe Mode?
Scanned for viruses?
If you are running IE, make sure in properties, you change the home page to like
www.cnn.com incase it is set for the porn site.
By any chance, have you tried using system restore?