Texture stretching in Blender

Hello, I’m an artist and I’m very new to both Unreal and Blender so I apologize if this is an obvious or stupid question, or if this isn’t the appropriate place to post my question. But I’ve been looking online and can’t find the answer, so I figured I might try here.

Basically I’m trying to make a barrel in Blender, so I can import it into unreal, but part of the top and bottom of the barrel stretches out the texture. The object is a simple shape that uses a “subdivision surface” modifier to smooth things out.

So what am I doing wrong? Any ideas on how to correct this?