Try what the above have said, also before playing games try closing any programs which may require the internet such as msn/firefox/utorrent. Also if there are any users on your network at the same time it will also deteriorate the quality of the connection between you and the server.
Oh, if its COD, play dedicated servers, match-making is terrible.