When more than one force acts on an object, it is the total force that corresponds to its acceleration.
Because force has direction, the direction has to be taken into account when forces are added.
This rule that forces add is kind of obvious but is sometimes called the zeroth law.