My pee is dark and bladder hurts what is the problem?

Get checked for. Bladder and kidney infection. In the meantime, drink lots of water with cranberry juice. Take care!
Urinalysis. Dark urine color & bladder discomfort on voiding needs the routine urinalysis and urine for culture and sensitivity to see if it is infection or stone. Your doctor can decide whether you need further diagnostic test like ultra sound or ct of abdomen & pelvis. Good luck. Hope you feel better soon.