When you fall off the horse, get right back on. There's no point in beating yourself up if you slip up. Remember that you are human and it may take some time before you reach your goal.
I've read a lot of books and learned from coaches and trainers and one of the keys to success is to practice. Don't give up even when things get hard.