You've already seen what to look for basically. You should consult your vet. Most common causes are likely injury or infection but could be some other underlying cause. Your vet will have a better idea once they are able to take a look and discuss everything with you. An exam is inexpensive and you can discuss everything else from there. Hope your baby is better soon and it's nothing major.