I think I broke my finger but I can still bend it what should I do?

Xray. You need to have an x-ray done to be sure that there is no fracture.
Fracture. The ability to move an appendage does not preclude fracture. Motion is the action of muscles and tendons acting across a joint. Bone could still be broken.