W4 wrong in 2017 for new job. 3 was claimed. I am a single person with no dependents nothing special withheld. Went to do taxes owe irs 300. how do i change that

I do not want to have to owe the IRS if i do not have to. I have had no issues in the past doing my taxes online never had to owe the IRS. My w4 was wrong for 2017 for new job I think and they took out the wrong amount of taxes. W4 had 3 withheld but I am a single person with no dependents and was marked as head of household. (as a single person with no dependents i should not be head of household). How do I fix this so I do not have to owe the IRS