It varies and depends on the individual. Acceptance of salvation and the outward expression of baptism must be conscious decisions. You should be old enough to ask and answer, "Why shouldn't I be baptized? " like the Ethiopian in Acts 8. That could be at five, twelve or twenty-one.