Pain in rectum

Bit of an odd one but has anyone had a long pain in rectum for maybe 5/10 mins 6dpo and found out they were pregnant?? I’ve just had this and no idea what it was!