Generally when an app freezes there's not much you can do about it. Some small things you can try is pressing cmd (key with apple on it) + , (comma) or cmd+. (period), Though, that rarely works anymore. Waiting is about all you can do to see if it fixes itself, otherwise just hope it did some auto-saving when you reopen it later.