Birth control and parental consent

I live in Texas, I am 17 years old and I want to know if I can get on birth control without letting my parents know. I also wanted to take a pregnancy test but I’m not sure if I could do that without parental consent either.