W
Do a web search for "<phone model name> Hard Reset" and follow the instructions.
They are all different, so not knowing what phone you have, we can't give you exact instructions.
That's not true. ALL Windows Phone hard reset in EXACTLY the same way!