I got over tendinitis in my elbows by not lifting upper body for a couple weeks
and then easing back into it with lower weight and focus on form. In all it was probably 6-8 weeks before I started really working my arms again, and now it seems to have gone away.