Have writer’s block? Go swimming. Why? Because exercise is good for you. It will get you out of the house. Ideally you will feel refreshed and ready to return to your computer.
I have always loved swimming. Before my shoulder objected I belonged to a Masters Swim Program at my local YMCA. On one occasion I participated in a fundraising swim in the Chesapeake Bay. Of course I still swim at my local pool in the summer. I plan to use swimming as a reward after I get my daily quota of writing done.
Personal discipline is another important ingredient. When I retired I used my time to enroll in some writing contests and to apply for a grant through SCBWI (Society of Childrens Book Writers and Illustrators. I also took an online course on preparing a book proposal, which was very helpful.