Formula fed 2 week old with constipation

Help! I'm at my wits end feel helpless he strains like he has to go but only passes gas for the last 2 days. Calling the pediatrician today any advice would help