If you hear sharp squeaking noises from the brakes, this could suggest several potential issues relating to the disc, pad and calliper and is an indication that your brakes need attention.
Normally an indication that the brake pads have become heavily worn resulting in a grinding noise when the brakes are applied. Eventually, this will cause damage to the brake disc and calliper if left unaddressed.
If the brake warning light appears on your dashboard, then your ECU will have detected a fault within the brakes. A common cause of this is low brake fluid level or a leak; it is essential not to ignore warning lights as they are often simple to repair solutions that can turn into expensive ones.