If you need to draw a straight line without the help of a ruler, try the following method. Instead of looking at the tip of your pen, look at the point you are trying to draw a line to and move the pen in one swift motion towards it. You will find that the line is much straighter than when you are consciously focussing on where your pen is.
This is similar to how when you are walking down a staircase, the more you think about the steps you are taking, the more likely you are that you will trip and fall. Your brain is very proficient at automating physical activities, so that you can use “muscle memory” instead of wasting precious mental energy.
This also means that ironically, thinking and worrying about doing something right can result in more failures. Sometimes, it is better to just be aware of the direction you want to head in and go with the flow, rather than overthink, micromanage and ruin things.