Finger hurts

So this is going to sound weird, but my middle finger has been hurting for a few days now. It's only beside the nail on one side and it hurts when touched and has a reddish coloring to it, is throbbing slightly, and feels a little warm. I have no idea what's going on because I've not hurt it in any way recently. Any ideas on what could be going on?