Sounds like you ruptured a small blood vessel. Not knowing your age or meds that you are taking advise is tough, BUT. Put ice on it to reduce the bleeding. Heat will only increase the blood flow. Massaging it will probably break the clot and could make it worse. Your big problem is that you can't see how deep the bleed goes, or how much actually leaked out. Blood in tissue can lead to permanent, deforming scarring internally. So PLEASE, get off the computer, and call your doctor. As I like to say, we've heard it all, and seen it all, and then some, so dump the pride, and get the care you need. It's probably a very minor injury, but your best friend deserves some good medical advise at a time like this. (And since this has happened before, have you doc do some blood work, looking for a possible underlying clotting problem.