How could I rotate my texture and make it stretch along the whole surface of the object?

The texture:

Just fix the UVs in the material, one is the width, the other is the height: