Thanks for posting your query.
you might having soft tissue injury
over your thigh and knee and week later pain and swelling subsided.
Now it 's time to do physiotherapy- knee range of motion exercises and quadriceps exercises to strengthen your knee.
Hope I have answered your query.