Hi, you have a few personal problems you mentioned. If studies and exams are your priority, then you should be doing it. If you are distracted or can't concentrate, kindly find out the reason why you can't concentrate, then either resolve the reason or work on yourself so that that reason does not affect you.
Next Steps
Meet a psychiatrist and a counselling psychologist to understand the reasons and get solutions to this lack of concentration.
Health Tips
Sometimes we feel some things don't matter or one is strong enough.. but we forget we all are humans and many situations and people affect us in different ways.