Bacterial infection

If I have a bacterial or yeast infection w out knowing could I give it to my boyfriend?? I have a dr appt this week.