Your best gas and constipation remedies

Co

5.5 wk old baby who we are switching to formula. Finally found one she likes but the transition is causing some gas. Her pediatrician said we can do prune juice to help but looking for other suggestions. Ive been using mylicon as she has always had uncomfortable gas at night but those don’t seem to help much.