First thing is to see if you can pass the USAF or USN flight physical. If you are offered a slot at Officers Candidate School it will come with a career field attached. That is to say they cannot offer you a pilot training slot and then move you into something else without giving you the option of getting out altogether.