First check, if there is brake fluid in the brake fluid reservoir.
Then check if you have brake support.
You can feel it, if you step on the brake pedal, while your engine is off. When you turn the engine on, you should feal a support on the brake pedal.
Then get error codes.
But I assume you...