How to fix Mac file problems

What can you do when all of a sudden one of your apps no longer opens?