504 and 500 Error Message (Won't allow me to edit anything in Dashboard)

I have got a 504 error and a 500 error from my host Hostgator. I am logged in when the website shows up after trying to reload a couple times but it would let me into the dashboard it just gives me these error messages.