Only ones I've dealt with where pressed in, I was able to get most out , but ended up taking the hub to a mechanic shop that was able to use a press to remove the bent one. They also pressed the new ones in for me.
There are a lot of different styles of hubs, a pic would make it easier to tell what you have.
NAPA is a good source, most stores can have the studs in a short time if not in stock.