company witheld less taxes

Hi, 

My husband and I have only W2 income. no other income.

My company or my husband's (i'm not sure) withheld way less taxes last year. we ended up paying over 21K in taxes and had to pay fines as this was unexpected. HOw to rectify this with our companys

thanks