By writing steadily. I started with 15,000 words on Thursday, my "day off" from the day job. Thursday and Friday are my writing days.
Today is Sunday and so far I have written 8,000 words. Only 2,000 yesterday because I was tired and burned out and stuck. So I'm up to 23,000 words on this 40,000 word story. Not bad.