Is my baby's nail infected?

Stephanie

So i noticed my baby's fingernail a couple weeks ago. It didn't look this bad at first, but now it looks like this. Im not sure if it's infected or if it's something else. Has anyone seen this happen before? Should i make a doctor's appointment? Sorry if the picture is a little blurry, he wouldn't sit still.

Update

He does have an infection but the doctor said it was starting to heal. She prescribed him antibiotics. Thanks for helping!