Site loading extremely slowly.

My site is loading extremely slowly. Sometimes it doesn’t load at all and gives 524. About 2 weeks ago I was so happy to see the site was loading very good, about 6 seconds. So I don’t know what happened. I did not activate any new plugin. Please check and help.