Having sex and anal???

So I’ve only ever done anal once and it was for about 7 minutes and we didn’t have normal sex as well!

So anyway I wanna try it with my current partner, we use condoms, my question is can you have normal sex, then go to anal then back to the vaj??? Or is there a risk of infection goin from one to the other! If so, do we have to change the condom every time we go from one place to the other? I have no idea so may sound a bit naive hah