How to master reset or factory reset HTC sense ?

My phone is working very slow, so i decide to reset my phone but i don't know no, how to reset. please help