If you are trying to board up a place for safety, use screws not nails. They hold much better and are much quieter. Faster, too, if you have a ratchet or power drill. If you have no choice, use an angle / rather than --

But

~~~

Is much better all around.