This is kind of stupid, but it may help if you're having trouble remembering -- if you write Na on a piece of paper, you can think of the hole in the a of Na (for sodium) as a cell. You can write a tiny K (for potassium) inside of the hole in the a. The N is outside of the hole because the concentration of sodium is greater outside, the K is inside the hole because the concentration of potassium is greater inside.