I feel like my teeth are rotting out

I don't know what's causing it.

I brush my teeth twice a day, sometimes 3 times because I'm depressed over my teeth. Yes I floss every day and use mouth wash. I don't have bad mouth hygiene like I was taught to take care of my teeth and i have been. It's not because I'm gross and don't take care of my teeth. I spent 2 years with braces and pain, im definitely not just going to let my teeth rot.

I've never had issues until last year. I went years without cavities. Then, I had cavities on all 4 back molars and had an infection so bad in one it went into my jaw and the tooth literally broke out of my head which was extremely painful.

I just found 2 more cavities in one tooth, and I'm pretty sure I have another infection in another tooth, Swollen bleeding gum around the tooth, a lot of pain.

It's actually stressing me the hell out. Like, no matter what i do my teeth are rotting. I don't know what to do and the dentist is just like idk man brush your teeth. This has never happened to anyone in my family, bad teeth aren't a genetic thing for me.