Just open it up in Blender or whatever DCC software you prefer, open the UV Editing tab, and click “Auto Generate UVs”. Depending on the texture you plan to apply to this mesh, you may need to customize the UV map further. I suggest that you research this topic.