Federal deduction

I have a question about how much I should have deducted out of my pay check so I won’t have to pay in at the end of the year.