Treating acne during pregnancy requires caution as certain medications can harm the developing fetus. Topical treatments like azelaic acid and glycolic acid are generally considered safe. However, oral medications and stronger topical treatments should be avoided unless prescribed by a healthcare provider.