Hello,
One of the possibilities for your symptoms is irritation caused by the cloth or soap that you use. Wear cotton clothes and use mild soap like Dove. The other possibility is of urethritis. Common causes of urethritis in young men tend to be sexually transmitted infections such as chlamydia, gonorrhea, and ureaplasma. However, there are other causes of urethritis, including rheumatologic diseases (e.g. Reiter`s syndrome), the presence of foreign bodies in the urethra (e.g. urinary catheters) or irritation from chemicals can cause some pain with urination (e.g. alcohol). Urethritis can cause painful urination.
You should consult your doctor to rule out the above causes and find out the further management plan in your case. It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.