The only solution for a distracted mind

Following is an excerpt from a samvaad (dialogue) session with Acharya Prashant.
Question: Sir, I am unable to concentrate on anything. For e.g., I get easily distracted while studying my Maths book, and get attracted to playing online games.
What should I do then?
Acharya Prashant: You see, two types of things attract us.