Hello, I’ve done the same when I was in college. My attendance was below 80%. So I completely understand where you’re coming from. I think it’s best to open up to your teachers, tell them you’ve gone to the GP and make sure you tell them that you’re doing your best to sort it out and you’re not just victimising yourself or using it as an excuse not to do work. Also seek a school counsellor, it helped me of so much.
You have to realise that everyone goes through this, if I were you I’d make more effort to go in. I know it’s hard but you’ll thank yourself in the long run. If only I improved my attendance I know I would’ve gotten better grades.