Could i get an infection from this?

OK so my husband hitting it from the back lastnight , and he pulled it out of my vagina and instantly put it in my butt and stroked it a couple of times then pulled it out my butt and then put it back into my vagina , just curious do u think I can get an infection ?