Acne and birth control

Has anyone ever been prescribed birth control for their acne? I just started getting acne last year and it’s been getting worse. I’m wondering if this is something that can be done when I go to my doctor. Thanks ladies