Infection of the prostate gland may occur in all ages of men. Though it is commonly seen in older men who have enlargement of the prostate, or in men who have diabetes or weak immune systems, it may be seen even in younger men where it may be mistaken for urine infection and produce typical symptoms like burning in the urine and passing urine frequently and with discomfort. Link to IPSS
Sometimes if the infections are more serious, there may be fever, inability to pass urine at all (retention of urine), heaviness or pain in the part you sit on, pain or discomfort in passing faeces (stool) or pus formation in the prostate.
Infections need treatment with antibiotics and investigations to need to be done to find out why the infection occurred and if it can be prevented from happening again. Pus if formed can be drained through transrectal ultrasound aspiration.