7 weeks baby formula poop

Lily
Any one experienced baby diarrhea? My baby is 7 weeks and formula fed and recently been having diarrhea. I googled and said it may be allergy and if persist to call the doctor. Calling my pedi tomorrow. Just wondering as a first time mom what it may be.