I find that having a morning routine helps set the tone for a productive wfh day. Get dressed, have a good breakfast, then take a short walk before starting work - feels more intentional than just rolling out of bed to the computer! Also agree a dedicated workspace is key.
I find that taking short breaks, like a quick walk or stretching, really helps reset my focus. Also, having a dedicated workspace makes a big difference in keeping work and home life separate.