Most of this will be post-processed. You can get a decent camera + lens which helps, as well as a good eye for photography. The rest is shooting in RAW and knowing how to use Lightroom to get the most out of your photo.
You can read a bit more about it here: https://photographylife.com/raw-vs-jpeg