If you are having sex, using birth control (contraception) will significantly lower your chances of an accidental pregnancy. At some clinics, you can get birth control without parental consent.
All young people in Texas have a right to a public school education. No matter what you decide to do with your pregnancy, you are allowed to stay in school and cannot be forced to attend a different school.
If you are a minor (under 18), a parent or legal guardian must consent to medical treatment for you in most cases, but you have options. You can consent to all pregnancy-related health care except abortion.