For Android, it's usually in Settings > Backup & reset > Factory data reset
Keep in mind that doing Factory reset will delete all your personal files in your phone.
You didn't mention which phone, this video might help you, it'almost the same settings in all phones: https://youtu.be/dQH90b62drU