Try the following. It may help.
Wash out all the past bad memories. Think that you are starting afresh. Be pleasant to all whom you meet as if you are knowing him/ her now. Set up a time table for studying different subjects. Follow the time table. Initially there could be a few hicups, but if you are persistant, you will have concentration in studies and your life will improve qualitatively.