Of course there is a way, but its safe if you do it the right way. First of all don't do anything that hurts too bad (thats what the point of pain is, to stop when it becomes too strong). Second: anus is not self lubing like vagina so you need lots of lubricant to avoid pain and damage to internal tissue. Anal sex is the easiest way to transmit STD so watch out, be shure that both you and your partner are STD free or use a condom. Do not ever switch from anus to anywhere else before changing a condom or properly washing a penis. Swhiching from anus to vagina is the bigest DONT, stuff in anus just dont mix with stuff in vagina.