If you have owed a tax payment at the end of the year, that means you did not have enough tax withheld during the year. You may need to file a new W-4 with your employer. Be sure to read the instructions carefully, and complete the extra worksheets if you have more than one job or are married and your spouse works. (If married and your spouse works, do the calculations once for you and your spouse and then both should submit revised W-4s, don't do them separately.). Download the form here, or use the IRS online calculator to set up your withholding.
https://www.irs.gov/forms-pubs/about-form-w-4
https://www.irs.gov/individuals/tax-withholding-estimator