Wheel studs can be replaced by using a press to push the old one out and the new on in. Do not drive with out replacing the studs.
I would replace all of them on that wheel. If two broke while loosening then someone used too much torque installing wheel.
you can replace the studs, they are pressed on the hub, or the rotor on certain cars
Two of the four lug nut studs on one of my tires on my 99 Saturn sl1 broke off while I was loosening the lug nuts.
I've read posts online saying to replace just the studs but I thought the studs on my car aren't replaceable unless you replace the part that the studs are attached to.