Nicholson has twice won the Academy Award for Best Actor , for One Flew Over the Cuckoo 's Nest and for As Good as It Gets .
He has won three Oscars , for As Good as it Gets , One Flew Over the Cuckoo 's Nest , and Terms of Endearment .