You must never drive without fully functional brakes. If your car's service brake stops working while you are driving you must stop the car immediately, in the safest way possible.
Both the service brake and the parking brake must work. If either brake is broken you must have the car towed to a workshop.