Mac Messages App Not Working?

On occasion the Messages App on my Mac stops working. I am not sure what the problem is, but it usually fixes itself, eventually. If this is happening or has happened to you, read this article which describes several things you can do to get Messages working again. It contains some of the usual things to do for a fix like Restarting your computer, but also some things that most people would not know.