While at the Academy:
1) Take the test when they tell you to. My class did it during a summer training block before 2nd class year, but at some point you'll know to take it. It doesn't hurt to do well on it, but generally from what I saw out of Academy grads (different for ROTC and OCS guys trying for pilot), passing was good enough.
2) Show up to precommissioning physicals when they tell you to. Have nothing wrong with you. Sorta out of your control. If your eyes are bad but correctable they'll get you PRK.
3) Senior year, put pilot number one on your preferences. If your ranked well enough, passed the ASTB, and don't have any medical thing, you'll get pilot.
4) Graduate and move to Pensacola.
It's pretty simple if you go to USNA, they'll pretty much tell you when to do the necessary steps.
If you were asking about what you would do after graduation, can clarify that for you to.