What a way to stop brakes from squeaking before getting them replaced?
Most brake pads have squeakers .It's a little metal stud that makes contact with the rotor when your pads are low. It's a warning sign to replace your pads before you damage your rotors .
You should really get them changed, that's a sign they should get changed. If your not ready for that, try seeing if they need more brake fluid, and add more.
Don't fool around with brakes. Get them fixed before you have to stop and can't
If the brakes are squeaking replace them now. If you wait too long they start grinding. Then you have to replace the brakes and rotors, way more expensive.