There are other ways to fix this, but go get a $5 bottle of the anti squeal brake sauce, and apply it to the back of the pads.
Don't let it dry first - apply it and put the pad on, and step on the brake to seat it, then do the other side. You don't want a cushion between the piston and brake pad back.You want a layer of sauce that absorbs vibrations.