Be ambitious, keep climbing and always have hope. Beware of falling, and remember that life is minutes and seconds. Be like the ant in hard work, patience and perseverance. Always keep trying, and keep repenting.
If you go back to sin, then repent again. Memorize Qur'an, and if you forget it, go back and memorize it again and again. The main thing is that you should never feel defeated or frustrated, because there is no such thing as the last word or the bitter end, rather there is always trial and error, and learning from your mistakes. Life is like a body that may undergo cosmetic surgery; it is like a building that can be renovated and rebuilt from scratch, with new decor and paint. Do away with all thoughts of failure, and stop thinking of calamities and problems, for Allah, the Almighty, says:
"... and put your trust in Allah if you are indeed believers." (5:23)