It depends on the treatment type, but generally, you do not need to be home for exterior services, though interior services usually require someone to be present.
When applied properly by professionals, pest control products are low-risk. However, it is recommended to keep pets and children away from treated areas until they have completely dried.
Over-the-counter products are often less effective and can sometimes make infestations worse by dispersing pests or creating hidden, resistant populations.