Thanks for your query.Based on the facts that you have posted it appears that you have Benign Enlargement of prostate
for which you are taking treatment from some years.
Most probably you have Rt Inguinal Hernia
However this can be confirmed only on clinical Examination .
Please consult qualified Urologist
or General Surgeon
for clinical assessment .
If necessary you may have to undergo surgery for Prostate and hernia as well .