The answer depends on which "Lord of the Rings" work you mean:
There is no single "last episode." The legendarium comprises:
The narrative conclusion is The Return of the King, Book VI, Chapter 9: "The Grey Havens."
The final film is The Lord of the Rings: The Return of the King (Extended Edition adds ~50 minutes). The last scene: Sam returns to Bag End, saying "Well, I'm back."
As of 2024, Season 2 has aired; the series is renewed for Season 3. No final episode exists yet. The show is set thousands of years before the books.
Note: Other adaptations (Rankin/Bass, Bakshi, radio) have their own endings.