Butt stuff

Lil awk but been experimenting safely and what are the risks of doing anal right after vaginal sex or like switching in between? Just really wanting to avoid infection obviously and don’t want to be dumb