Do you have a video editing program? If yes, you should be able to rotate it in the editing program. If no, are you using a Mac or PC? You could use a program like
Handbrake or
MPEG Streamclip. Both are free downloads.
For future recordings you may want to look at the dash cam settings to see if there is an option to change orientation or some related setting.