Confused about STDs

Ja

I get that STDs are sexually transmitted, but I'm a little bit confused.

My boyfriend and I are virgins and plan to have sex with a condom on our wedding night (to avoid da bebes!). So because of our virginity and condom usage, there's no risk, right?

But can he have an STD genetically if his mother or father had one? I don't know if they did but his dad certainly slept around.