Is it safe

Every year we have people come and spray around the whole house for ants and mosquitos. My son is only 2 months so he obviously won't be playing around outside but is it still safe? Anything toxic around a new baby worries me but these bugs are a pain.