The measure must be taken to prevent from std are :-
1. Avoid sex with unknown partner or multiple partners.
2. Use always barrier method(condom,fakiron) during intercourse or coitus.
3. If a person is in doubt he/she must consult a qualified doctor.If Std is detected one should get complete treatment.