Check this advice for better working from home

Maintain Regular Hours. Set a schedule, and stick to it...most of the time. Having clear guidelines for when to work and when to call it a day helps many remote workers maintain work-life balance. That said, one of the benefits of remote work is flexibility, and sometimes you need to extend your day or start early to accommodate someone else's time zone. When you do, be sure to wrap up earlier than usual or sleep in a bit the next morning to make up for it.