Baby stopped breathing ??

So moms has this happened to you?? My baby needed a diaper change so I changed her poo. Then once I was done she looked like she was about to poo again. So I just let her do her thing and was waiting for her to stop. Well it turns out she started turning realllyyy red all over her face and she was so stiff and stopped breathing for about 10 seconds. It scared the shit outta me. I called her doctor he said it’s called a breath holding spell. She’s only 7 weeks old