how can i fix my computer?

my computer keeps switching to the desktop every time i play counter strike 1.6. its the only application where this happens. i have windows 7 ultimate, 2.6 GHz, 2GB RAM, but the specs aren't the problem. anybody know how to fix?
Myth672, March 2010