It’s best to consult your doctor before using onion and ginger treatments during pregnancy. Their effects on the fetus are unknown, so it’s better to err on the side of caution.