It could be her season or she may have a urine infection. If in doubt take a sample of urine to vets for testing, she will need antibiotics if this is the case. If the urine is thick, dark or smelly it is usually a sign of an infection.
Best not to leave it too long if it is an infection.