I presume your computer is in your room so don't turn in on when you are doing homework. This may sound simple but it will really help, unless of course you need the internet for homework :rolleyes:
But yeah, try to only turn it on when you finished ALL homework for the day and for study notes...