You said lug nuts so I am wondering if the stud is not the normal pressed in type with a round head on the inside ? if it is you just drive it out with a large hammer and replace it the same way with a new one = better check the back side for a round head if so just drive it out it is not threaded into the hub .
The rear wheel has both bolts (4 I think) and studs (2) that thread into the hub. They are not press-in.