Prioritize
The best advice is just like in the civilian world: avoid dating your coworkers. Trust me, you will be glad you followed that advice. Now, if you happen to meet that special person while in the service, just go about it very carefully and remember that you signed up for the military to serve your country and you have a duty to your commitment first and foremost. The rest is secondary. Anyway, if you are worried about dating in the military, you may want to reevaluate your reasons for joining.