birth control?

can you get birth control if you’re 17 or do you need your parents consent?