since it looks like a cylinder from your picture, you could do a Cylindrical UV Projection. Select your shape, go to Edit Polygons > Texture > Cylindrical UV Map. Use the manipulator to stretch the cylindrical gizmo around the entire object. If that is the problem, this should fix it.