Gas pains??what should i do

Tasha • Boy🧒&baby girl on the way👧..a wife & mother💏💑👨‍👩‍👧‍👦

My baby is 2weeks and 4days..she breastfeeds & formula feeds..during this week i notice she went a day without pooping but had a massive explosion the following day..shes been farting alot and i try to burp her as much as i can and my dr told me give her bioron its help but not as fast as i want it too..shes been crying during feeds like shes hungry but i believe her gas pain is the problem..she would suck then cry..i really dont know what to do..yes i massage her tummy & do bicycle with her legs..anyone else been threw this? What helped?