You can prop your baby up in a sitting position from early on, but they won’t be able to sit by themselves until they have head control.
At about four months, your baby's neck and head muscles will be stronger and they'll be able to hold their head up when they're lying on their tummy. Next comes a little mini push up, and then by about five months they'll be able to sit up by themselves for a moment without your help. Around seven months is when you can expect them to sit up unsupported.