how do I get rid of an infection under my cuticle?

My dog bit me and now I have a blood blister and swelling beneath the cuticle of my thumb. It’s been like this for a couple days.

Better consult doctor, dog bites are not good.