Try your best not to push too hard, because it can cause real damage, and pregnancy is a problem time for that area anyway (damage might be hemorrhoids or ananl fissure).
To prevent, drink loads of liquids (which is probably a good advice during pregnancy anyway), and eat fiber-rich foods, like fruits and vegetables or whole grains. You might want to supplement with ground flax seeds too. It works like a charm.