Welcome to Healthcare Magic Forum
Proctalgia Fugax- Many triggers, some known like defecation, full rectum
, sometimes during/after sex. Pain relief techniques are subjective, somefind relief the way you described, some find by lying on abdoment, pressure, sitz bath in hot water, etc.
If its frequent, you can try homeopathy
, works wonders for neuralgic pains.