Some good points by others on this post. I want to focus on something more latent. Are you sure there are no other distractions in your life?
Try to find out if there is something deeper than surface level that is bothering you. Such distractions can be of any type: lack of interest in what you do (or rather, the constant desire of doing something else), homesickness, heartbreak, financial hardship, issues with family or friends, etc. If there are any such reasons, you should try addressing them first. Either solve them, or get some help in coping with factors you cannot solve.