The cause of the compressor not running is either a bad fan motor or a burned out Capacitor. Check for debris first! You don't want the fan to spin when you remove the obstacle. Remove the top of the heat pump cabinet with the power off.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.