First off, what kind of underwear?
I still wear underwear, even with bike shorts (too much of an uck factor cleaning those shorts to me without underwear), but they have to be some sort with legs (boxer brief) that are compression and moisture wicking material, not cotton. Cotton will get sweaty and loose and rip me up very quick. Briefs are even worse, with the seam running right between your leg and crotch.