If it’s rim brakes, clean the braking surface of the rim with baby wipes, or soap and water / sponge cloth, rub the pads with wet and dry paper, then make sure they are clean and dry, then adjust the pads lateral angle to the rim, so that they are ‘toe in’. If they are discs, clean the rotors with a bit of vinegar / muc off / soap and water, then get the pads out of the callipers, put a bit of copper grease or similar on the back of the pads, make sure none gets on the fronts, or the rotors, pop them back in to the calliper, and use a flat metal object ( large flat head screwdriver or proper pad spreader) to get the pads flat. Then see if they’re still squealing.