hi my friend,,, every problem has a solution but the time it takes for each problem to get solved alone varies. i will try to help you out. could you say what is the actual problem. what is causing you depression?
use features like digital wellbeing to stop notifications while you are studying and also it allows you to stop disable some apps.