Troubleshoot Remove malware

Infected operating system
Android 8.1
Infected device
Moto g 5 play
Infected device issues
Hacked
Steps taken to remove the infection
I try to get help from google