Welcome to Android Central! Make sure Auto Rotate is turned on. Swipe down with two fingers from the top of the screen and see if there is an Auto Rotate toggle there. If not, go to Settings>Accessibility and make sure Auto Rotate is turned on there.