I would suggest seeing an orthopedic physician and getting a referral for physical therapy. You can be shown how to properly stretch and strengthen the muscles in the area. When you start getting back into playing, you need to do it gradually because usually tendonitis is due to over-training when your body is not ready for it. Also, it is important to wear the correct sneakers. What I mean by this is, wear running sneakers to run in, basketball sneakers to play basketball in, etc.
Footwear is very important.
Be patient and get back into things gradually. Hope you're having fun with the Liberty. One of the differences is the athlete. On the professional level, you are working mostly with very talented, elite athletes. We do a significant amount of traveling in season, which can be tiresome.