Make sure you're definitely placing some baking paper before setting your cookie dough on it or using a silicone baking tray to cook your cookies on. Simply using non-stick spray or butter will create an overly greasy base for your cookies to sit on, causing them to spread.