since they are forces, u can add them up vectorially. for example , if a test charge is falling due to gravity in a uniform electic field , the test charge stops falling when the electrostatic force due to the field equals the force of gravity.(it depends upon the direction). the total FORCE can be got by adding them up