What exactly happened to your brakes? Does the pedal fade while you are on the brakes? Did it just go straight to the floor? Is it something else like grinding or squeaking?
If you lost your pedal pressure while you were driving, you'll need to find the source of the leak. It could be a hose at the wheels, a leaking caliper, or the master cylinder. If they're making noise, you'll need to pull the wheels off and inspect the pads
I couldn't help but notice your screen name so I'll say remember if you get the brakes too hot, it's very possible to lose your pedal. It comes back when they cool down but the one time I lost my brakes from heat, I warped the rotors :/
hope this helps