To see if it's network or framerate lag, type the following in the console:
netgraph 1
cl_drawfps 1
If your framerate is really low, then it's your computer. If you're getting spikes and black bars on the netgraph, then it's your network connection. Are you using wireless? That often causes lag.