Dear Student
When (a) direction of magnetic field is reversed without changing the direction of current then by Fleming left hand rule, direction of force gets reversed.
(b) When direction of both current and magnetic field is reversed the direction of force remains same.
Regards