Buy one sheet P120 grade aluminium oxide sandpaper and a small packet of powdered filler.
Rub down hole removing flaking paint, mix up small amount of filler apply proud over the hole, you can use a stiff bit of plastic for this. Wait for it to dry, rub down gently flush with the wall. Repaint.
tl;dr