Does cranberry juice help UTIs? Why this isn’t entirely a myth

Cranberries contain a substance that keeps bacteria from building up in the bladder, but cranberry juice isn't the best way to consume them.