How does the charge of a particle affect the direction in which the particles

How does the charge of a particle affect the direction in which the particles deflected in a magnetic field