Screen rotation issue in Ubuntu 18.04?

How to resolve the screen rotation issue of Ubuntu 18.04 and get the normal screen.

To get the normal screen use below command and run in terminal:

$ xrandr -o normal

Try the below command to remove:

$ sudo apt-get remove iio-sensor-proxy


You will get the problem resolved.