How old do you have to be before you qualify for military service?

Eighteen on your own or seventeen with parental consent (mom or dad has to sign for you.)