Desktop computer is running slowly and not performing well

I just bought a new ASUS PC. After some months of using, I perform a full scan on it using my AVAST antivirus. A Trojan was detected after the scan. After eliminating the virus, my computer started to run very slow and it seems it is not performing well. Do I need to reformat my computer? Or do you have any other suggestions that will fix this issue?
