Generally, remove hub, press old lug bolt out, press new one in (I've cheated and used a lug bolt and spacer to draw new bolt into hub, not recommended), replace hub
depending on the design of the hub, there may be other ways, I've done some where I could beat the lug out w/ a sledge and then replace by the /not recommended/ method above
Pics would help us to recommend better