i have a big sexual problem

I have so much pain in my penis after masterbation …I am feeling very weak.please tell me the solution.