How long does it take for a baby’s tummy to get used to formula change?

Jennifer

She is soooo gassy and constipated and is miserable. It’s only been 5 days but I feel terrible for her!