Set a schedule
thrive off patterns and quickly a set schedule will become a habit.
After school or sports practice have a healthy snack (fruit and yogurt, nuts, etc) and then have homework time. Have a set place in your house to do homework (good lighting, limit distractions) only after this time should a tv show or video game be allowed. Doing homework late at night is not healthy or productive.