This is taken directly from the go-pokemon.com website dealing with confusion
When you attack with a Confused Pokémon, you flip a coin. On heads, the attack works normally, but on tails your Pokémon receives 3 damage counters and ends the attack. (Only apply Weakness and Resistance for actual...