Yup, you are doing it right! Nobody is perfect 100% of the time (and anyone who is, please keep that to yourselves). You brush yourself off, fix it and move on. That is exactly what you are doing so no bashing here.
Erica, I have done exactly what you did on several occasions. If I cheat accidentally, I don't consider it a cheat--it is a mistake. And I won't make it again. Done.