You said it went a little wrong, which means its not your time yet buddy. Enjoy and appreciate life.

Let say think of it as wake up call. When I was your age, death was the least of my worry, I felt invisible or nothing can hurt me.

Live life, death is inevitable for those, whose time is up and its up to Allah not us who decides on that.