Hello, welcome to Android Forums, I'm sorry it's taken this long for me to get to your question.
Try dragging down your notification menu by swiping from the very top to the bottom. You should find an option called Auto-Rotate. Tap this and it should get everything set back right.
Or you could go into your settings menu and under your display settings, it will allow you to change the orientation.