Painful

I just had my baby today and I have so much pain in my asshole when I sit on it and I’m wondering how long this will last? I had an episiotomy and small tear and I’ve had hemerroids through my third trimester (no pain, itch or discomfort just the bulging bit of skin) so is the pain in my bum hole from any of those or just pushing and all that