When do I pay capital gains tax for rental property sold in Oct. 2024?

I unexpectedly sold a residential rental property in Oct. 2024 with a high capital gains tax.  When do i need to pay this tax?  What is the deadline for this tax?