Make that experience as a motivation and make that experience to strengthen you as person. Use that to improve your skills or abilities in the fields that you involved in and the most important is you should know what are the lessons on that experiences and you should learn from your mistakes.