When I was in college (EE major) I was told to treat it as a 40 your a week job - 8 hours a day. My reply was, “no way”. But it was amazing. When I tried this it really worked! (With exceptions for certain exams). And this really prepared me for my first “real job” when the time came.
It really does not take any more than that.
Its funny how simple advice like that is the key to success in most things.