You just need to bang it out, through the rear of the hub, with a hammer. If it's sheared off flush with the surface you will need a suitable prop to hit it with. Best advice is to replace all 4 of them, as the others may have been weakened if you lost the stud due to wheelnuts working loose.