It's often really hard to focus on doing your homework, so you may start procrastinating to avoid doing it. Unfortunately, this is not a good idea, as you'll compromise your grades and put yourself under lots of unnecessary stress. Rather have a look at this great advice about how to stop procrastinating and focus on your homework.
One of the best ways to avoid procrastination is to create a routine around doing your schoolwork. Decide when and where to do your schoolwork, and do it at the same time and in the same place every day. You'll have to force yourself to do it at first, but eventually you'll get so used to the routine that you won't even give it a second thought, you'll just start working. It may also help to create a few cues for yourself. For example, set your alarm for the same time every day so that you know exactly when it's time to work, and immediately get started on your homework.
Some people are able to motivate themselves to do their work, but many students find it easier to get their schoolwork done if they work with a friend. So, try to find a friend who is motivated and good at the work in question, and ask if you can work together. They'll probably be happy to have someone to work with, too. Just make very sure that you do work, and don't goof off together instead, as that defeats the whole point of having a study buddy.
An excellent way to motivate yourself to do your homework is to reward yourself when you do it on time. Try to think of something that you really want or enjoy doing, such as playing computer games. When you've done your schoolwork on time, and you've done it properly, play that computer game. However, if you want this technique to work properly, you really have to be honest and strict with yourself. You should only reward yourself when you have finished your work on time and done it properly.
After reading this excellent advice about how to stop delaying and focus on getting your homework done, you should be able to do exactly that. So, stop procrastinating and go start your schoolwork!