According to the Lorentz Force Law, the magnetic force on a moving particle with charge q and velocity v moving through a magnetic field B, is given by:

To find the direction of the force using the right hand palm rule, align your palm with the direction of v and then close your palm towards the direction of B. The direction where your thumb points will be the same direction that the force F has.