Question [Q] How to unistall CyanogenMod

Hey,
I have a Samsung Galaxy S4 (Telus, SGH-1337M) and I would like to install Cyanogenmod on my phone, But, Before I do that I would like to know how to unistall just incase. The more detail the better!

Thanks,
Josh