If the side of the skin next to the nail is red, painful, and swollen then it is infected.