So first the OG trilogy
Episode IV – A New Hope
V – The Empire Strikes Back
VI – Return of the Jedi
then Prequels
Episode I – The Phantom Menace
Episode II – Attack of the Clones
Episode III – Revenge of the Sith
then you could slip in Rogue One inbetween or watch that one later
and then the Sequel Trilogy
Star Wars: The Force Awakens
Star Wars: The Last Jedi
Star Wars: The Rise of Skywalker
Solo I personally wouldn’t recommend to see.
Just so you know Rouge One’s plot is what happens between episode 3 and 4 but is more like a side story so it doesn’t really matter when you watch that one since all of us saw it after the original movies too lol.