Hemorrhoids after/during pregnancy

What are some ways to prevent hemorrhoids from happening...and what causes them?