Window settings help

Can someone help me with this problem? My GMod keeps going back to the original size and running on full screen but I want 800x600 and running on a window

You can get windowed mode by right-clicking Gmod from the games tab, choosing “Properties”, then choosing “Game Launch Options” and type in “-windowed” (no ")