Cephalexin

Have you ever took this antibiotic for a UTI? It's 250 mg capsule. Did it work? He only gave me 3 days worth.