Hello. Thanks for choosing Doctorspring.com
From your history, it seems like a foreskin tear, which is very common in sexually active adults, especially those who are not circumcised. I will advise you to refrain from any sexual activity for the next 2 weeks or so, don't try pulling back your skin, since there will be some inflammation and it can cause further injury. It will heal in around 7-10 days. If possible, after the pain has subsided, you can apply some antiseptic gel such as vaseline, or even neosporin ointment will help. You can apply in the affected area 2-3 times a day, but apart from that don't try pulling your foreskin as of now.
Get back to us if you have additional queries.
Regards