Panic attack while pregnant 😢

Well my husband was 3 hours late from work tonight and he didn’t text me or anything like he usually does, I’m a fairly anxious person anyway but these pregnancy hormones have got me feeling crazy 😅 so I started to worry and get so sick thinking he’d had a crash or something so horrible I called his work and his mobile a lot and nothing and I ended up having a panic attack, please don’t judge I know I need to regulate my feelings for baby but I just couldn’t stop thinking he was badly hurt especially since he ALWAYS texts, I’m 37 weeks do you think the panic attack would’ve hurt my baby? I hyperventilate when I have one.