I will answer the question in the domain of classical as opposed to quantum physics.
I will use electromagnetism first, in order to present the concepts, and then comment briefly on how they apply to gravity. Gravity is more subtle when we allow for General Relativity.
So here is how it goes for electromagnetism and the motion of charged objects in response to electromagnetic fields.
No charge exerts a force directly on another charge. Rather, each charge is the source of a field, and this field exerts a force on any charge located in it.
It is not possible to treat point-like objects of finite charge and mass. Such an object is a physical impossibility because it creates infinite electric fields and energy density, which in turn would imply infinite mass.
So we have to model extended objects. This can be done by assigning them a charge density $\rho$. Then the charge contained in some small volume $dV$ is $\rho dV$ and this tends to zero as $dV$ tends to zero. The total charge of the object is $Q = \int \rho dV$.
Each part of a given extended object, such as a ball of charge, generates a field $\bf E$, $\bf B$ throughout the rest of the object. Other parts will experience a force given in the usual way by
$$
{\bf f} = q ( {\bf E} + {\bf v} \times {\bf B} )
$$
Thus a part with small volume $dV$ experiences the force
$$
d{\bf f} = (\rho dV) ( {\bf E} + {\bf v} \times {\bf B} ).
$$
The total force that a charged body exerts on itself is the sum of all these forces. For a body that is not accelerating, it can be shown that this sum is zero. For a body that is accelerating, this sum may or may not be zero, but in practice it is so tiny that it can be totally ignored in all but very extreme circumstances. Therefore the rule of thumb that we teach in high school physics---that things do not exert forces on themselves---is a good rule.
You can now proceed to apply these same ideas to two or more bodies. The charge of each body causes a field which exerts a force on the other body. The motion of any third body will be affected by the total field it experiences. And so on.
The above carries over with little change in the case of a Newtonian model of gravity. With General Relativity the ideas are broadly similar, but now the equations are much more complicated and there is non-linearity throughout. This means that the total field of two things is not given simply by summing the fields of the things taken one at a time.
As with any area of physics, there is always more than can be said, and more detail that can be given, but I hope the above helps to answer the question that was asked.