“You need to be clear what your motivation is. In a school setting, there is an educator present to drive you, but on your own at home, you are your own motivator. Have a reason to stay focused on your studies even when things get challenging.
Another important factor is your social life. It may be helpful to take up extra-curricular activities that allow you to be surrounded by people. I took a part-time internship at a web-development company, so I would study for half a day, and work as an intern for the other half. This bolstered my programming skills, but also, importantly, meant that I spent a good amount of time interacting with other people.”