Ask people close to you to hold you accountable
Be it your partner, best friend, or family-- whoever you are close to, tell them your deadline and how you plan to achieve it. Also, tell them to check upon you and hold you accountable for working towards your deadline. It might put some much-needed pressure on you to meet your writing deadline.