Problems with textures in blender

so when I turn on layer mask and paint on certain faces this happens

Do you have any solutions for this?