Just carve out a set block of time every day, either in the evening or early in the morning outside of business hours. The idea is to write with focus and discipline for a dedicated few hours, say two hours a day, and then stop at the end of the writing block. Just make sure that your book-writing schedule doesn't impinge on your business, your family life, your wind-down time or your sleep.