You could tell us:
WHICH Mac your dad has
WHAT YEAR it was made
WHAT VERSION of the OS is on it.
If it's an intel-based Mac made after 2010, it can likely do internet recovery (command-OPTION-R at boot).
That's what you should use.
DOES HE HAVE ANY KIND OF BACKUP?
ALL of his data will be gone after an erase & re-install.
BEFORE you resort to erasing everything, have you tried "MalwareBytes" ?
You can download and run it for free.
If you want it wiped clean, do this:
Boot to INTERNET recovery using "Command-OPTION-R".
Open disk utility.
IMPORTANT - go to the view menu and choose "show all devices".
Look at the list on the left - the topmost item should be the physical hard drive or SSD.
Click on it and click erase.
Erase to either AFPS or HFS+ (again, you didn't provide enough info above)
When done, quit disk utility and open the OS installer.
I would accept whatever version of the OS the installer offers you.
Let the install go through. It will take a while and the Mac may go dark and then reboot one or more times.
When done, you should see the original startup screen (choose your language).
If you have a backup, connect it and start clicking through.
Good luck.