In Pokemon Go, how to beat multiple Pokemon in a gym if there are 2, 3, or 8 of them?
Solution 1:
Your goal in a gym battle is not to beat everything in one go.
Your goal is to KO at least one. I'm pretty sure 6 of your Pokemons can defeat one of theirs.
Once you have beaten at least one, it will deduct prestige. Reduce prestige to 0 and they lose their gym.
You can use this setup heavily to your advantage by setting up your team to be able to handle any defending Pokemon, KO one, run away, heal up, and repeat. They will still lose prestige, you won't need so many revives, and you can actually beat a heavily defended gym by yourself.
Solution 2:
Based on the way you are talking, it sounds like you are fighting with a single Pokémon, in this case, you will never be able to "take" the gym, as it's already claimed for your team. Gyms have two "modes":
Fighting a Gym of an Opposing Team
When fighting a gym with a different team, you will be asked to select up to 6 Pokémon to battle with. In this case, when one of your Pokémon are defeated, the next in line will jump in, and you will continue the fight.
For every Pokémon you defeat in the gym, you will lower the prestige rating of the gym. Lower it enough, and the lowest ranked Pokémon in the gym will be kicked out. You can continue this until all Pokémon are removed, and the gym is neutralised. At this point, you will be able to claim it by putting one of your own into the gym.
Fighting a Gym beloning to your Own Team
When you fight a gym belonging to your own team, you are asked to select just a single Pokémon. Using this solitary Pokémon, you will then battle all the trainers in the gym. For each one you defeat, you will raise the Prestige level of the gym by a certain amount.
Once you have raised the prestige level enough, another trainer slot will open up (up to 10 max). At this point you, or another member of your team, will be able to add one of their Pokémon into the gym, further strengthening it to attack.
Because you only have a single Pokémon to increase the strengh of the gym, it is a good tactic to put claim it with the lowest CP Pokémon that will be put in. This will allow everyone to raise the rank further. Additional Pokémon should ideally be added in increasing order of CP.
You will personally only be allowed to add a single Pokémon to each time at a time. So if you wish to have several in a newly claimed gym, you will need to have other members of your team put theirs in too.
Solution 3:
I usually go gym hunting with a couple of friends from the same team. We all use our 6 pokemon each to try and beat the gym and bring its prestige down to zero as Nelson mentioned above. Once we beat the gym we each put one of our pokemon inside.
It's generally hard to beat a gym on your own unless your Pokemon are way stronger and the gyms prestige isnt too high. Good luck catching them all :D