The parents needs to talk to the pediatrician. Don't give a newborn anything but breast milk and formula without directions from the doctor. Don't change formulas without talking to the doctor. Mom might consider avoiding gassy foods like broccoli, beans, peppers, but that doesn't always work.
Feed a little less and burp more often, then continue feeding/burping cycle. Change the baby's position - tummy down on the parent's legs for a few minutes, then roll over, then head up, then flat, etc. That helps move things around. Lay the baby on her back, then gently take the legs and bend the knees so the thighs go up close to the belly - sort of putting the baby in a frog position or crouch. Don't push, but hold the legs there for a minute, then gently stretch them out. That helps move the bowels which can reduce pressure in the abdomen.