Losing weight

I had my 3rd baby 2 months ago and had my gallbladder removed almost a month ago. I'm now bloated all the time and I'm the heaviest I've ever been. I've cut out pop but I cant seem to ditch certain foods. Any tips or recommendations? I'm 5'2 and 180lbs I need to lose about 40 lbs