Thanks for your query.Based on the facts that you have posted it appears that you have either Benign Enlargement of prostate or Prostatitis
Please consult qualified Urologist
for clinical and digital rectal examination
to confirm the diagnosis.
He may advise you to do following tests .
1) Routine urine test
2) Ultrasound scanning of the abdomen to rule out enlarged prostate
Please take broad spectrum antibiotics along with anti inflammatory medication like Diclofenac twice daily .
Get the prescription of medicines from your family Physician.