Help. Baby stops breathing!

My baby is 2MO i started to notice when shes sleeping she will catch for air as if she has stopped breathing. Idk if this has to do cause theyre still babies or cause theyre still learning but is this normal? Just now she had her pacifier she was sleeping in her swing and i heard her as if she was catching air i ran to take it off. Im scared idk what to do 😢 FTM