Brakelight indicator comes on while driving

in england on most cars,the same light comes on when u set the handbrake(parking brake)it has a switch that activates when u pull the lever,maybe this is faulty??or needs adjusting?