The force of a moving charge in an magnetic field is given by
$$\vec{F}=q \frac{\vec{v}}{c} \times \vec{B},$$
where ##q## is the charge, ##\vec{v}## the particle's velocity, ##c## the speed of light (in a vacuum), and ##\vec{B}## the magnetic field.
This is sometimes a bit complicated to figure out. The cross product is telling you that the force is always perpendicular to the velocity of the particle and the magnetic field. You get the direction by the right-hand rule, i.e., putting the thumb of your right hand in direction of the particle's velocity and the index finger in direction of the magnetic field, then your middle finger points in the direction of the magnetic force on the particle.
Since the force is always perpendicular to the force, a magnetic field doesn't change the magnetitude of the particle's velocity but only its direction. For a homogeneous magnetic field the trajectory of the particle is a helix, i.e., it is moving with a constant component of the velocity in direction of the magnetic field, and the projection of the velocity to the plane perpendicular the field is a circle.