Capital Asset Pricing Model and Arbitrage Pricing Theory — Which one? When?

What is CAPM:

“The excess return on any stock”