I.M.
Hi,
You must vacuum regularly to remove any remaining chemicals. Also, for next time, ensure to cover all table tops. Identify most the objects that the child touches such as toys and remote controls, which you should cover before spraying.
For your pets, you can use natural insect control methods such as Diatomaceous Earth or Vinegar, which are also effective and will allow you to hit a balance between child safety and pest control.
Also, you can keep your pet away from the main house for some time so that they pour all the chemical before coming into contact with your baby or house items.
If you can take appropriate safety precautions outlined in the product labels, you can consider checking flea foggers at https://pestpolicy.com
Thank you