What happens to sperm?

Ja

What happens if the sperm/ejaculate doesn’t fertilize your egg? Does it just die and then get flushed out when you get your period?

I have tried searching for the answer but nothing useful shows up online. Just wondering since my husband and I have only used condoms up until recently.