"Painful or frequent urination is a common problem, especially in older men. Urinary tract infections, kidney stones and prostate problems can all produce these symptoms. Frequent urination without pain also can be a side effect of certain medications, or a symptom of diabetes."
Source