Tetanus and clean
First you must update your tetanus
Next the area needs to be cleaned and any foreign material needs to be removed (what did the nail go through? Shoes? Socks?) any foreign material may lead to infection. Lastly the area needs to be protected and the less pressure on it, the better.