You are responsible for ensuring you pay any tax that you owe on your OnlyFans earnings.
Depending on where you live and how much you earn on OnlyFans you may need to pay tax on your OnlyFans earnings. OnlyFans cannot provide you with tax advice.
You can find out more about how OnlyFans deals with tax compliance here.