As per Lawkidunya, sole proprietors and partners pay themselves simply by withdrawing cash from the business.
Those personal withdrawals are counted as profit and are taxed at the end of the year. Set aside a percentage of earnings in a separate bank account throughout the year so you have money to pay the tax bill when it’s due.