Brake switch slipping off pedal

The plunger of the brake switch is slipping off the pedal when it’s close enough to actually be pressed in by the pedal. Which means the brakes lights are always on has anyone ever dealt with this before