When you change a video from horizontal to vertical, it's called rotating the video. You can do this in most video editing software by opening the file, going to the Edit tab (or similar), and selecting Rotate. Then, choose either clockwise or counterclockwise rotation. Keep in mind that you may have to crop the sides of the video after rotating it.