trick to removing a pressed in stud?

This happened to me and was able to get them out by soaking it in liquid wrench a hammer and punch.