If sodium ions are outside of a cell, they will tend to move into the cell based on both their concentration gradient and the voltage across the membrane (the more negative charge on the inside of the membrane). So cells pump out the extra ions.
This is what my candidate teacher said..