Your finger joints sustain an incredible amount of pressure and movement. They’re built to sustain the stress, but only up to a point. As a result, repetitive use injuries and arthritis are common.
Rest your affected hand and finger as much as possible until the swelling improves and you can bend the finger again. Any overexertion can damage the finger joint, which could lead to joint, tendon, ...