If the brake pedal has become "soft", and in several successive pressings becomes "harder", then the hydraulic brake actuator is air.
To remove air from the system it is necessary to pump the brakes. The procedure is quite simple pumping the brakes, but it is more convenient to carry out with the assistant.