For me writer's block comes in degrees. If I'm not motivated to write or stuck on a particular scene, I set a timer for 15 minutes and duct tape myself to the chair. Then I write whatever comes to me even if its bad. If I'm in the "weeds" regarding a part of the plot that's not going the way I want, I usually take a break and do something else for a while. Clean the house, go for a walk, anything to give my brain a rest. It also helps to talk out the issue.