If two forces act on an object in different directions, then the effect on the body will be due to the magnitude and direction of the net force acting on it. Thus, the body will move in the direction of the resultant force.
We can have two situations for two forces:
(i) If forces A and B are applied on an object in the same direction, then they will add up.
(ii) If forces A and B are applied on an object in opposite directions, then the net force on the object will be the difference between these forces.