What foods, supplements or techniques can you recommend to reduce muscle pain after extensive exercise?

I have a fitness assessment in three weeks that I want to be ready for and to do so I have been swimming or running multiple kms every day. Due to my sedentary nature {books not exercise} I’m in rather a lot of pain. Anything you can suggest to reduce the pain would be appreciated….