There is a large spinning cog after I clicked a button and now nothing happens. What now?

This problem occurs if the application is stuck because of an error. Please follow the instructions for any errors.