Cockroach spray?

Re

Is it safe to use cockroach spray while pregnant? I didn’t think about it and used it just now to kill 2 cockroaches and now I’m freaking out 😅.