When moving towards a goal you will experience ups and downs, that is natural. Never giving up is the hard part, don't be too hard on yourself during the lows, no one is perfect.   

If you're making progress and moving in the right direction without being perfect, then that's perfect.