Bug spray

Is inhaling bug spray bad ?! I'm 10 weeks pregnant and forgot that they sprayed and my nose was burning because it was strong.could this cause any harm to my baby