for paralysis:
The paralysis condition (PAR) causes a Pokémon to be unable to attack
("fully paralyzed") a quarter of the time. Additionally, its Speed is
reduced to 25% of its previous value (except for Pokémon with the
Quick Feet Ability, where this condition raises the Speed by 50%).
Many moves that cause paralysis are of the Electric type. Ground-type
Pokémon can be paralyzed, but not by Electric-type moves or by the
Battle Arcade. In Generation V, Pokémon glow yellow when afflicted
with paralysis and their animation will be slowed significantly. As of
Generation VI, Electric-type Pokémon can no longer be paralyzed
for confusion:
>
> The confused condition causes a Pokémon to hurt itself in its
> confusion 50% of the time. The damage is done as if the Pokémon
> attacked itself with a 40-power typeless physical attack. Confusion
> wears off after 1-4 attacking turns. This means that turns recharging,
> such as after using Hyper Beam, and turns unable to attack, such as
> from paralysis, will not lower the remaining number of turns of
> confusion. However, a sleeping Pokémon may hurt itself in confusion if
> using a move such as Snore or Sleep Talk. Multi-turn attacks such as
> Fly and Dive require that confusion be checked both turns, further
> reducing the chance of successful attack. Pokémon with the Own Tempo
> Ability are immune to being confused.
these are the two you asked about. however its also attract, flinching and much more you can read about here