Measures to prevent urinary tract infections after sex mainly include the following aspects: first, before and after sex, both men and women should wash the genital organs to maintain cleanliness; second, after sex is completed, rest for a while to urinate; third, usually pay attention to underwear, underwear replacement; fourth, during sex, avoid too intense action, so as not to cause damage to the mucous membrane. Infection, need to go to the hospital for routine blood, urine routine, ultrasound and other tests to clarify the diagnosis, determine the condition, so as to choose the appropriate treatment, daily life patients need to drink more water, more urination, pay attention to rest, avoid spicy, stimulating food.