If you have a painful urinary tract infection, you can get relief: 1. Eat a light, easy-to-digest diet and avoid spicy, stimulating foods. 2. Avoid excessive urination and sedentary behavior. If you have the urge to urinate, empty your bladder in time, holding urine can lead to further aggravation of pain. 3, go to the hospital for urine culture and drug sensitivity test, according to the test results and then targeted use of antimicrobial treatment, you can choose to take oral levofloxacin hydrochloride capsules or cefixime capsules and other drugs to control the infection. At the same time, you can take oral sodium bicarbonate tablets to alkalize the urine, so that the inflammation is quickly controlled to reduce the symptoms of pain. 4, for patients with severe pain, you can take oral diclofenac sodium capsules to reduce the patient’s pain, and if necessary, you can also inject intramuscular pain medication to temporarily relieve the patient’s pain, such as intramuscular morphine injection or brucizine hydrochloride injection to relieve pain.