Working from home makes it hard to keep them separate.
First, have a starting work routine. Set up habits that tell yourself it’s time to start work
You don’t need to sing when you start work (unless you really want to), and you don’t need to switch sweaters. But you can have certain things that you do in the same way each morning — even if you work from home. Maybe it’s putting your dishes in the dishwasher, turning off the lights that may be on around the house, getting a cup of coffee, and then sitting down at your computer. Or maybe it’s doing a quick workout, showering, and then turning to your phone to check email.
To increase your productivity and clarity both for work and life outside of work, have a plan for the day. That includes knowing the time of your meetings, deciding what projects you will work on, and being clear on when you will do tasks like answering email