Acne with the pill

How long does it take acne caused by the pill to clear?!!!