The best choice is antibiotics therapy. When your uti(urinary tract infection) is prolonged, there could be morphological change in your urinary tract and kidney could be infected if bacteria reach your kidney.
If you can not see a doctor, drink water as much as you can to wash out your urinary tract. Urinary outflow is known to be one of the defense mechanism.
Void right after you have a sexual intercourse and do not take the posture that seems to cause symptoms.
The effectiveness of cranberry juice is not clearly determined yet. I copied a comment. Have a read please.
==================
are cranberry pills or capsules helpful in preventing urinary infections?
There is little research with humans to support the idea that cranberry pills and/or capsules are effective in preventing urinary tract infections. Most of the research used cranberry juice.
There is research in progress now involving humans taking cranberry tablets to prevent urinary infections.
Are cranberry tablets and capsules safe to take?
Some studies state a concern that cranberry tablets and cranberry juice (drinking a quart or more of juice daily) increasing calcium oxalate and uric acid stones of the kidney.
A person should consider his/her personal risk for kidney stones and talk to his/her health care provider before taking cranberry tablets as a ietary preventative for urinary infections. One should also talk to his/her health care provider if taking medication for inflammation of the stomach and/or taking vitamin b-12 as cranberry tablets or capsules may increase the absorption of vitamin b-12.