You will have to edit the video with editing software.
You cant do it on the phone, you will have to transfer the video file to your computer and do it from there.
Try not to rotate the phone while you're recording.
That's the orientation lock for the whole phone.
He already took the video without that feature turned off and now wants to fix the video so it doesnt flip like he did when he recorded it.