A generally useful piece of advice in life is: "Learn from your mistakes and move on." Mistakes are learning opportunities, and overcoming them makes you stronger and wiser. Don't be discouraged by setbacks, but use them as a springboard for personal and professional growth.