1) Find a stock ROM for your phone.
2) Download the ROM to your phone.
3) Back up all your data.
4) Boot into recovery.
5) Select Wipe to factory reset your phone.
6) From the recovery home screen, select Install and navigate your way to the stock ROM you downloaded.
7) Swipe the bar to begin the installation.