It should get better, you and your body will figure it out. I will suggest that planning to have a longer sit during your bm may help, just giving it time rather than straining. I know someone has posted on here concerns before about how long it takes sometimes. Hopefully you aren't already sitting for to long but I often take 20min, or longer especially before bed.
Good luck