Need advice 14 year old daughter!

No rude comments or just don’t comment!!

So my 14 year old has sever anxiety and some depression, she’s a quite kid outside of home so some kids bully. Well it’s been a month since she has went to school would already been in juvenile had it not been for the school excusing her days to help try to come back. I’m at a brick wall I don’t know what to do. She’s on meds and therapy and still getting no where. Everyone tells me juvenile isn’t the way to go with this that I should just put her in homeschool but I’m afraid doing that will only make her worse. Help please some advice!!