If you enjoy the forum please consider supporting it by signing up for a NES Membership The benefits pay for the membership many times over.
depends on the gun.
some run better with a lot of lube, others not so much.
tell us the type of gun.
RTFM (read the firearm's manual)
Put some oil on it, and see if it works. If not, add oil, or wipe it out, depending on how much was there to start.
If it's "creaky", have you cleaned it?
Ignore if you want, but this is the answer. It's not rocket surgery.