502 bad gateway nginx error!

even tho i only have WP installed (and some plugins),i deleted all unused stuff/themes and even used a optimizer but the site often seem slow! and other times i get the 502 error, i searched but only got that there is alot of visitors , wich i dont :frowning:

thx in advance <3