Sit alone in your room. Remain silent; take deep breath for 2 minutes & the say 10 times kalma e tayba. Say “O mery RAB give me tofiq to get knowledge.” Regularly do it for a week. Pray 5 times regularly. Obey to your parents. Read one page of QURAN E PAK. Inshallah you will get back your concentration.
Moreover, keep your communication devices off while studying and keep away from TV noise.