I have a general formula that I usually use for making teams, though it's certainly not the only way to do it.
1. Pick your team style.
2. Pick the core Pokémon for your style (Politoed for rain, Tailwinder for Tailwind, your favorite goodstuff-friendly Pokémon for goodstuff, etc.)
3. Pick a good partner for the first Pokémon - either something that can take advantage of the effect it brings or something that has good offensive and defensive synergy.
4. Build the rest of your team around supporting the core pair. More sweepers, counter-setup, Pokémon to hurt the stuff the rest of your team can't hurt, etc.
5. Test it, find out what doesn't work, and fix it as necessary.