Set ground rules with people in your space (this means pets, too!)
Make sure they understand to respect your focus during work hours. Just because you're working from home doesn't mean you're truly "at home". If you have children at home, they need clear rules about what they can and cannot do during your work time. Pets might require a closed door to get the message, and you may want to put on headphones if they're being too loud.