How do you change gears?

My husband has over an hour to change gears on his way home before he sees his family. But, I work from home and go right from solving problems and sometimes contentious conversations to greeting my son. I have been working hard on not letting the stress of my job affect him. It requires that I swift the gears in rapid succession. Some days I am better at this transition than others. How do you shift from work to being a Mom? Help us all figure this out!