If a sampling plan required 5% of the parts to be inspected in 1000 parts?

can someone explain the steps on how to do this I have a test coming up that will ask a similar question