My pc infected with Trojan virus. They show like this.

1) Trojan horse Agent2.AHHA
2) Trojan horse clicker.AEYB

I am using AVG antivirus software. When I scan my whole pc the software detected the both Trojan files. The main problem is I am trying to remove them but software can’t remove. Because of that my pc get automatically shut down when I start any internet or website. Please anybody help me how can I remove this.

Thank in advance.