Long Term Capital Gain Taxes

I will be selling my long-term capital gain this year. UBS agency will send my 1099 form Feb 2025 showing what I owe in taxes.  Will I get penalized for not having enough taxes taken out? How much do I pay? 20% Federal / 10% State?  How can I pay this before Feb 2025 to avoid any penalties?