counterstrike srashing

OK ill go in to cs and join a server, and its all fine. So i get bored of that one and decide to join another server, so i join it and the game crashes and when i try to get into cs again it says illegal opperation and i have to restsrt my comp. what do i do??