Each STD has different treatment - with medicines, ointments, injections. It is important to complete the treatment course as well as to treat the partner. Sexual intercourses should avoided during the treatment.