When you say it hurts, do you mean like sort of a raw feeling? That can happen if you really overdo it with masturbation (like a half dozen times a day or more would do that for many people.) But in any case, other than rubbing yourself a little raw, there's no real concern with masturbating too much.
TMI Alert...I got really stoned once when I was younger and masturbated for like two hours or something and my peen was VERY red and irritated. It hurt to walk. The constant abrasion on jeans was miserable. I would say if this sounds like you, then yes it was probably the wanking. Best thing is to not try to masturbate until its really back to normal. If your peen gets dry, don't worry, its just dead skin. DON'T put lotion on it, it hurts like a mother-effer. Just let it do its thing, and you'll be back to normal! Also, everything in moderation from now on.
Nope. none of that. Just a light pain. It has stopped now though. Only like once in a day I'm feeling it.. Thank you everybody!