Baby choked on gripe water!

I tried giving it to her slowly but that damn dropper is so hard to control!! She wasn’t breathing and turned red, I turned her over and patted her back hard and she cried and is breathing fine now I think.. I’m just scared it’ll have any effect later on.. scared the shit out of me