what's the earliest a baby can be born and be okay

Amanda
Asking out of pure curiosity I'm 33 weeks tomorrow just wondering what's the earliest a baby can be born and be safe and healthy 
I've heard it's over 30 weeks ? 
I've had two premature scares already 😩
Anyone have any stories or imput ?
Thanks guys