How to turn on VSYNC?!?!?

I need to no how to turn on a vsync...i need STEP-BY-STEP..like..very clear answers...
thank you
2 answers 2