You know your mistake & told me.
Develop your habit to give attention to your studies. Then work very hard.
B/c the other students also work hard. If you want to top the list, give much more time & attention to study. There is only & only one way to get in the castle of success, called hard work.