If this situation does not improve after a week of fitness, you can exercise yourself first to see if your joints are still flexible. If you feel uneasy, you can go to the hospital. Doctors usually knock on the injured part and take a film or something. Finally, I will give you a diagnosis. If it is serious, I may suggest that you stay in hospital for observation or have surgery, but generally speaking, you can tolerate the pain. The doctor will prescribe some combination of external medicine and oral medicine for you. For example, I can prescribe some drugs for promoting blood circulation and removing blood stasis to speed up blood circulation.
I have been in this situation before. I accidentally broke the muscle on the outside of my hip when I was squatting. As a result, it was painful for more than a month, and it felt too long. I went to the hospital to see the film. Finally, the doctor said it was nothing serious, so he gave me some drugs for promoting blood circulation and removing blood stasis, and some plasters for me to use. It is mainly after a period of rest to reply. After about three or four months, the symptoms disappeared.
If you feel that the situation is not particularly serious, you can apply a salt bag before going to bed every night. Putting the fried coarse salt in round eggs on the painful parts is particularly effective for eliminating edema and promoting blood circulation to remove blood stasis. This is also the method I often use, and now I recommend it to you. I hope it works for you.
Moreover, when I went to learn swimming before, I didn't do enough preparatory activities when I was on shore. After I got into the water, I accidentally grazed the soft tissue of my foot, and then it was as swollen and painful as you. Because I felt particularly uncomfortable, I went to the hospital to take a film. The doctor said that although I felt swollen, I didn't have a fracture and it was nothing serious. So I suggest you go to the hospital, it is still relatively safe.
I hope my advice can be useful to you, and I wish you a speedy recovery ~