Press F8 to enter safe mode at first boot if you cant work in normal mode. These are methods you can use to remove or prevent fake alert trojan infections or similar. Caution when visiting websites you do not trust and always try to backup because its not always this easy to remove an infection.
Read more:
How to prevent or remove a computer virus