How do I actually pay tax as a sole trader?
You pay tax through Self Assessment, once a year, rather than through PAYE. You register with HMRC as self-employed, keep records of your income and expenses through the tax year, then file a Self Assessment return by 31 January following the end of the tax year (the tax year runs 6 April to 5 April). Any tax you owe for that year, Income Tax plus Class 4 National Insurance, is due on the same 31 January deadline.
Most sole traders also fall into the payments-on-account system from their second year onward. HMRC asks you to pay half of your estimated next year's tax bill on 31 January and the other half on 31 July, on top of whatever you owe for the year just finished. This means your first Self Assessment bill can be roughly one and a half times a single year's actual liability: the balance for year one, plus your first payment on account toward year two. This catches a lot of first-year sole traders off guard, so it is worth setting aside more than just your calculated tax figure in your first year.