Welcome to iMore! Slide your finger up from the bottom of the screen to open Control Center and make sure you don't have rotation lock turned on. You can also look for a little icon in the upper right corner of the screen. It looks like a padlock with a circle around it.