Any professional painting contractor would suggest the following steps-
Fill grooves and nail holes.
Next, apply drywall compound to all the holes and grooves in the wall.
Clean the walls after completing the preceding procedures, depending on the current condition of the walls.
Cover Smudges.
Take off the outlet covers and tape the trim.