It sounds like a bladder infection. But if you've seen a doctor, they probably tested for that. I would get a referal to a urinary tract specialist to have it checked out further.
You probably have a uranary tract infection. Drink lots of cranberry juice and water this should clear up in a few days, but if not you may need antibiotics. Best wishes.