My baby!

Is it okay to have c section when your 38 weeks and 3 days? If your baby is sitting up? Am right now 37 weeks and 3days?