Throwing up

This is the second time in 2 weeks I force myself to puke bc I ate something expired and on top of that I’m really nauseous so I puke a lot. I’m worried I hurt baby. I drink lots of water and eat something small after I puke.