Bhai of you are using electric fuel pump. Check if the cycle is complete. Fuel input, fuel output and fuel return. Petrol is never blocked out car gets to much petrol and less air hence it stalls.
And if your car has booster brakes, the vacuum created by the engine for the brake booster ( via the pipe from the intake manifold to the brake booster) stops hence brakes become hard and tend to be lose..