Hello~I would certainly see your doctor to make sure all is OK, you don't want to get any type of infection.
If you think this, you should seek medical care. I know it's not easy, but trust me - medical professionals have seen it all.
Symptoms of a perforated bowel:
Abdominal pain (often severe and diffuse)
Severe abdominal cramping
Bloating
Nausea and vomiting
A change in your bowel movements or habits
Rectal bleeding
Fever (usually not immediately)
Chills
Fatigue
https://www.verywellhealth.com/whats-a-bowel-perforation-797590
You could also have an anal fissure, which is a tear in your rectum -
https://www.mayoclinic.org/diseases-conditions/anal-fissure/symptoms-causes/syc-20351424
Since you're having a lot of pain, it warrants a visit to a doctor. A perforated bowel is a medical emergency. Let us know what happens, and how you're doing. :)