Baby hemeroids

Ka
My 5 week old was born with a very small rectum. We didn't find this out until 3 weeks when I took her to the dr cause she was having such a hard time pooping even though it is pure liquid and passing gas. Dr told me to stretch it with a rectal thermometer (I use a qtip cause she bears down and I prefer something that'll bend incase I don't get it out soon enough). 2 weeks later she cannot poop at all on her own and I have to qtip her bum SEVERAL times a day to give her remotely any relief cause she now has such severe hemeroids. They are so bad I really can't even get any poop or gas out anymore. I am taking her back to the dr in the morning but was wondering if anyone has delt with newborn hemeroids and has any advice on how I can help my baby get relief.