Coating material for "Static mesh"

Hi. I created a static mesh. I want to paint one surface but when I paint, all surfaces are painte