The stud is usually a roll or tension pin that's a tight fit and shouldn't need anything other then carefully tapping it into the hole.

If you're a belt and suspenders type guy, put a drop of Loctite Red in the hole first.

Use either a brass hammer or hold a piece of brass over the end of the pin as you tap it in to prevent damaging the end of the pin.
Wipe off any excess Loctite and allow to cure 24 hours. After curing, scrub the part with hot soapy water to clean off any uncured Loctite, lube it to prevent rust and reassemble.