Working from home is convenient for a lot of reasons, but parents of small children have it especially tough when trying to get things done. Small children often like to imitate their parents' behaviour, so use that to your advantage: give your child a workstation so they can learn while you work.
Photo by Mary-Frances Main
Set up a workstation that emulates yours with a computer and any tools or decorations you might have on your desk. Then, find a learning site that suits your child's needs and can keep them busy. You can use Starfall to cover general education outside the classroom or get specific and more advanced with Khan Academy's computer programming courses. The key is to use a website or program that your child will be genuinely interested in, and create a workstation they will take pride in as their own.
The workstation will hopefully save you from some of the annoyances you normally experience during the day as you work from home. In addition, it also gives your child a fun and fruitful learning experience.