It depends. If you choose to invest your pension pot in an annuity, it will either pay out an annual income for an agreed period, or for life.
If you do not choose to buy an annuity, it’s up to you to manage your pension funds and ensure that it lasts for as long as you need it to. It is therefore vitally important to take advice on the sustainability of your pension withdrawals.