Run Activity Monitor from Finder or Spotlight. Force quit the apps which are unresponsive or takes up too much CPU/Memory.