STDs?

Can you get stds etc if you’s are both virgins?