Is there something I can use under gloss to cover marks, holes, staples etc?

I'm painting my stairs but the steps are covered in marks, holes and imbedded nails/staples. Is there a product which can smooth out the step before glossing?
4 answers 4