medication

At 17 I went through a bad breakup and my depression started. I was doing drugs, trying to kill myself, crying, sleeping. I had a few episodes like this. I’m now 19 and have stopped doing these things. I did start to notice anxiety attacks. I can’t breathe & yawn back to back & feel like I’m dying. They happen randomly, so I don’t know what triggers it. My dad who I lost a year ago suffered from severe depression & anxiety. My mom doesn’t really believe in any of it and won’t allow medication. In my situation I’ve learned to control a lot but I still have highs and low lows, & have the anxiety attacks. Would it be a good idea to get on some type of medication anyway?