40 years of experience working from home compressed into 10 pieces of solid advice:
Every morning, I’d have breakfast and dress as if I were going to “the office.” Then, I’d leave my house, locking the door behind me. I’d get in my car and drive around the block. Then, I’d get out of the car, go up the stairs to my front door, unlock it, and head for my office, where I was ready to work.
Sometimes, if you can’t muster the discipline to work, you must fool yourself. That’s what I was doing. You may have to do it, too.