THanks for the query
You have two issues here
1. You might be suffering from urethritis
which is causing the pain, more so when stimulated. Please seek a urologist
advice for this.
2. For the acidity problem please take tab pantaprazole 40 mg once in the moring before food for a week. If the problem still persists see a gastroenterologist
Have a healthy life