make sure you keep your distance on any cars in front of you, as maybe the seals in the brake master cylinder may have worn out reasons : wear and tear or lack of brake fluid change and avoid sudden braking!
check the vacuum hose coming from the booster it might be disconnected or a tear on the hose?thats why your getting a hard brake pedal?