I need to develop the habit of studying and stop procrastinating!

I never used to procrastinate in high school, i always used to study and do my home work and assignments on time and do well. but now it's like i lack all motivation and determination. i was okay in my first year of university, studying and whatnot. and i studied in my second year, but i failed. so i had to do over that year. which i did. but i failed again and then i lost all motivation, it's like i gave up. and i barely purposely barely studied. but either way, from the beginning, law was harder than i thought it will be. so deciding that law wasn't for me, i switched to graphic design and well, so far i like it, but i'm still not motivated and whatnot and that is sooooo frustrating! :'( and everything feels hopeless, like i feel like i've no purpose and no future and i feel like a burden to my parents. and i feel guilty that they wasted all on that money on me in law school. and now they're paying for my graphic design degree. i started working last year summer for the experience and whatnot, but i like to pay and contribute when and where i can out of guilt and because i feel like i have to sort of pay them back. i just want to be motivated and stop procrastinating....

*sighs*