Extremely sore?

I was bored this morning and decided that I wanted to try and masturbate. I'm a virgin so I knew I would be sore but about 6 hours later I'm still in some pain. How much longer does this usually last? And is it going to happen every time?