Pool/ hot tub/ water sex?

Is having sex in water safe? Does water not get up there an cause infections??