Error with servers

can anyone help me
when i try to enter a server it says “Steam is not running. Please start your steam client and login. Reconnect to this server when logged in.”

i play pirate cod4, i have opened steam and still saying it :confused:

Your steam client is corrupt. Reinstall Steam (not the games).