Examining the historical Price-to-Earnings (PE) ratio shows how the stock’s valuation has fluctuated over time, helping identify if it’s currently trading at a premium or discount compared to its past trends.
Please keep it mind PE ratio does not mean much for stocks that have low EPS. In fact it means nothing for stocks with negative earnings.
It's a good metric for profitable companies with high valuation.
If earnings are negative you want to look at the Revenues growth instead: we like negative earnings stocks if they have steady and high revenues growth.
This is because it could break even and become profitable over the long run.