advise please

so me and my mom had this huge fight and she's so mad.shes threatening me that if I don't get all straight A's then I go to Foster Care. so please help I'm so stuck on what to do because I'm an a and b student.