how to prevent pregnancy complications