Help please

Ke

I’m 22.4 weeks pregnant & I had a cervical check & pelvic exam today due to me thinking I was leaking amniotic fluid. The nurse said all looked good & my cervix was long & closed & no leakage. But now I’m terrified Can a cervical check and pelvic exam cause harm to my baby?!