Help!!!!!!!

Some days my little one doesn’t spit up all. Other days she spits up a lot, but I hold her up most of the time. But then if she is doing tummy time or moving a lot she will spit up! It’s so frustrating. I don’t think it’s the formula because she was breastfed before and it happened, and I also don’t consume dairy or anything because I’m allergic. She has 6 diapers a day and poops everyday or every other day. She doesn’t act like she is in pain really. She will smoke sometimes after she spits up. Lol and her tummy doesn’t seem hard. So idk what to do really. I asked my doctor and she said babies spit up and as long as she wasn’t projectile vomiting. She didn’t seem to care.