From a few days to weeks depending on where the overuse injury occurred, and how severe it is.
Resting the part using a splint
and taking anti inflammatory medications will help. Addressing the actual problem takes creative thinking to decrease the overuse. In severe cases that don't improve with rest, surgery or local injections may be needed for relief.