I need advice/help ASAP! please , thanks 🙏🏽

My 8 week old has been having trouble with gas and pooping since around 3 weeks. She cries, pulls her legs up, red face, etc. when trying to do either on. I've tried probiotics, gas drops, gripe water, nutramigen...nothing works. She's ebf and I changed up my diet so I'm barely eating anything! Most days I go without eating but so far nothing has worked. She's been screaming for over 6-7 hours right now and idk what to do. Any advice is appreciated. I've called her doctor and all she suggests is either gas drops or prune juice/karo syrup w water. Anybody else go thru this?