To get anything done, you need to hone two qualities, Grit and Focus.
Focus on what your task is. Do everything that is required to complete that task. Ignore anything not significantly improving or not needed for that task.
Knowing that your task is correct, just like the song says, “Don’t give up and don’t give in.”
You need to hang in there and ensure the job gets done right.