This sounds like a potentially serious problem, and I would recommend calling your primary care doctor
, or going to the emergency room, immediately for an evaluation. It sounds like you might be suffering from acute urinary retention, which is the medical term for not being able to urinate. What is not clear from your question is how old you are, but urinary retention is a relatively common problem, especially in middle aged and older men. If not treated, it can lead to permanent damage to the kidneys, which is why immediate evaluation is necessary.
In middle aged and older men, the most common cause of urinary retention is prostatic hypertrophy, or gradual growth of the prostate gland over decades. Diagnosing this condition would require an ultrasound
, looking for retained urine in the bladder, and ruling out any pressure building up in the kidneys. Blood tests are also necessary to look at the functioning of the kidneys. Other less common causes of urinary retention, but more common in younger men, would include prostatitis, which is an inflammation or infection of the prostate gland. Also, certain over the counter medications, especially cold and flu medications, can cause urinary retention.
Please call your doctor immediately to get an evaluation started.