I also had that bad lesson when I was on my 20th hour and it put my confidence down a lot, but next lesson I did so well that my instructor told me to book a test.
It happens, just learn from it and move on, be more confident next lesson.
Most important tip is to take your time and don't rush. If you take your time, lots of stupid mistakes go away.