It is most often a result of a urinary tract infection. It may also be due to an STD, bladder stones, bladder tumors, and virtually any condition of the prostate. It can also occur as a side effect of anticholinergic medication used for Parkinson's disease.