The equity risk premium is the extra return investors expect from the stock market as a whole over the risk-free rate.
It cannot be observed directly. Practitioners use a historical average of stock returns over government bonds, or an implied premium backed out of current prices and forecasts, and the choice moves a valuation noticeably.
In CAPM it is multiplied by beta to get a company's own premium.
Practise it: Weighted average cost of capital.