Loose valve core is stop #1.
Second is making sure you actually put air in the fork, and didn't just pressurize the pump gauge. Easiest is to note that the gauge actually reads pressure before you start inflating. Happens a fair bit to folks, not being a wise guy....