Anal Sex Tips

Has anyone had their boyfriend cum in them while doing anal? is it safe? and can i get pregnant?