Spawning in creative games

So im making a map for the 1st time but every time the game starts everyone is on team 1 and it auto ends the game i need to know how to fix it