If the screen doesn't rotate when you turn it sideways, first make sure that the
Auto-rotate screen option is selected in
Auto-rotate screen is already selected, try recalibrating the screen if the screen orientation doesn't respond properly to the way you hold your phone.
Settings, and then tap
Display & gestures.
Place the phone on a flat and level surface, and then tap
After the recalibration process, tap