Benzoyl Peroxide safe

Hi i’ve been getting really bad acne and was wondering if anyone has used benzoyl peroxide to treat their acne while pregnant? I’ve done some research online and it says it’s generally safe to use but I’m still scared it might harm the baby.