On the Calculation of Self-Energy of Particles