It is recommended to go to the hospital for further examination to clarify the causes of frequent and painful urination. 1.If it is an acute infection of the urinary tract that causes frequent and painful urination, it is recommended that anti-infection treatment should be based on the results of urine culture. If the symptoms of frequent urination and painful urination are caused by urinary tract stones, it is recommended to choose extracorporeal shock wave lithotripsy or medication for stone removal according to the size and location of the stones. The symptoms can be reduced or disappeared after the stone is discharged from the body, and if necessary, even surgery is needed for treatment. 3. If urinary tract injury causes frequent and painful urination, it is recommended to treat the symptoms according to the degree of injury, such as urethral injury requiring indwelling catheter treatment, and kidney and bladder injury requiring bed rest for regular review. If the pain and urinary frequency symptoms are obvious, you can also take oral diclofenac sodium capsules for pain management, or oral tolterodine tartrate tablets or capsules to combat urinary frequency.