Yes.It could be Prostatitis. You needs to be tested weather infectious/ non infectious.
If infectious,Course of antibiotics will be at least 6weeks.
Next Steps
Test for Urine analysis, Urine Culture, Prostate scanning to Check for Abscess.
Health Tips
1. Sitz bathing, 2. Prostate massage (by qualified doctor ) 3. Pain killers 4. Stool softener/ laxatives. 5. Antibiotics based on reports