If doctors don't recommend it, pregnant women who are allergic to acyclovir, have milk protein allergies, have kidney disease, or are severely dehydrated shouldn't take acyclovir. It is not advised for immunosuppressed women or pregnant women taking certain drugs that are compatible with acyclovir.