why dont you try to do sitz baths that is sit in luke warm salty water for 15 to 30mins twice in a day it brings alot relief to the anal region.
you can take some painkillers to ease your pain as well.
if you do some pelvic floor
exercises it will also assist to reduce the pain.
hope to have helped to answer your query