Hat not texturing properly
You can:

In Edit mode, select the part you want to paint:



Switch to Texture Paint mode, enable the Paint Mask option:



Paint:


It should work:

If it paints on unexpected parts it may be because the margin between the UV islands is not large enough, in that case go into the UV Editor then UV &gt; Pack Islands and in the Operator box on the bottom left increase the Margin: