When to pay capital gains?

Earlier this week I sold some mutual fund shares.  I realized a capital gain of over $25,000.  When do I have to pay the taxes on the capital gains?  Next year when I receive my 1099 tax form from the mutual fund company or do i have to make a tax payment this quarter?