Urinary urgency and frequency may be associated with a kidney stone. Typically, they will pass on their own. There are some cases however, where the pain is so incapacitating that breaking up the stones (i.e. lithotripsy) can be considered.
Other causes of urinary frequency would be any type of urinary infection and (if you are male), prostatic inflammation. I would suggest obtaining a urinalysis to evaluate for infection. If you are male, a digital rectal exam needs to be done to evaluate the prostate.
If stones are causing the urinary frequency, it is unlikely that Detrol would be of benefit.
Followup with your personal physician is essential.
This answer is not intended as and does not substitute for medical advice - the information presented is for patient education only. Please see your personal physician for further evaluation of your individual case.