Pain after sex is considered to be related to chronic inflammation and infection, mainly caused by vulvovaginitis, vaginitis or cervicitis. First of all, you should go to the hospital to do a routine examination of the leukorrhea to see if there are trichomonas and fungal or bacterial infections that lead to vaginitis, and if there is an infection, you need to treat it with vaginal medication in a timely manner. However, some vaginitis need both men and women to do treatment, and then before and after sex to pay attention to the vulva clean, usually wear loose underwear, cotton, breathable better, avoid wearing chemical fiber, too tight underwear, easy to lead to induce inflammation of the vagina.