Loading Problem

Whenever I start gmod, it will start loading, but right before it goes to the title screen, I get kicked out of the game saying that the program has stoped running, or it says nothing at all. Can someone help?

never mind i fixed it