How to stay focused when working from home

The number of people working from home jumped 75% between 2008 and 2018. But working remotely can be lonely and there are many distractions.

So how do today's home workers stay happy and focused?