Sodium is expelled from the cell by binding to a cell membrane protein and a protein pump. This triggers the use of ATP which changes the shape of the protein pump and sodium is expelled out. Extracellular potassium binds to the pump and resets the shape. Causing potassium to be released back into the cell. Sodium and potassium leak slowly, but continuously through leakage channels and the plasma membrane. The pump is used to maintain normal concentrations.