How to factory reset my phone

Welcome to Android Central! It would help to know which phone you have. Are you able to access the system settings? If so, go to Settings>Backup & Reset​, and select Factory Data Reset there.