Write an article based on this summary:

Examine your finger for any exposed cuts or bones. Check if your finger looks deformed. Note if the pain and swelling goes down after a couple of hours.
You may see large open wounds or pieces of bone that have broken your skin and are sticking out of your skin. These are signs of a severe fracture, known as a compound fracture. If you have these symptoms, you should seek immediate medical attention.As well, if there a lot of blood coming from an open wound on your finger, you should see a doctor. If part of your finger is pointing in a different direction, the bone is probably broken or dislocated. A dislocated finger occurs when the bone has moved out of position and usually looks deformed at a joint, such as your knuckle. You should see a doctor if you have a dislocated finger.  There are three bones in each of your fingers and they are all arranged in the same manner. The first bone is the proximal phalanx, the second bone is the middle phalanx, and the bone farthest from your hand is the distal phalanx. Because your thumb is the shortest finger, it does not have a middle phalanx. Your knuckles are joints formed by the bones of your fingers. Often, you break your finger at the knuckles, or the joints.  Breaks at the base of your finger (the distal phalanx) are usually easier to treat than fractures at your joints or knuckles. If your finger is not deformed or bruised, and the pain and swelling eventually subside, you may have just sprained your finger. A sprain means you have stretched the ligaments, which are the bands of tissue that hold the bones in your finger together at the joint. If you think you have a sprained finger, avoid using the finger. Check to see if the pain and swelling gets better over the next day or two. If the pain and swelling does not go away, you should get medical treatment to confirm the finger is only sprained and not fractured or broken. A physical and x-rays will determine this.