How do you flip or rotate your raspberry pi screen/display

I’m wondering how to flip or rotate the screen that makes the images and words print backwards as if I laid the display in front of the mirror and trying to read what’s on the reflection. Also I’m also wondering how to implement this a terminal. I don’t know how to reboot it and have my pi implement this. Thank you

Hi Harmann,

Try this video: