To put it in the simplest terms, The Mandalorian is set after the original Star Wars trilogy (aka A New Hope, The Empire Strikes Back and Return of the Jedi) but before the recent sequel trilogy (aka The Force Awakens, The Last Jedi and The Rise of Skywalker).
Is The Mandalorian a prequel? Well, it’s a little complicated.