How did you treat really bad acne?

I’ve started getting super bad about a year ago when I started a type of birth control I’m off now but I’ve got a ton of scars.