Goal: How to seal a small hole in the wall?

Which of the following methods is more reasonable for accomplishing this goal?
Purchase some filler and apply it to the hole then cover with a small dab of paint directly over the covered spot