Having anal sex can increase the risk of bacterial infection, pregnancy, and sexually transmitted infections, and it can worsen hemorrhoids. Taking precautions can reduce many of these risks. Learn more about the risks of anal sex, and how to avoid them, here.