First of all you need to rest, also - take ibuprofen, and check if your running shoes are too old and may need to be replaced. If your marathon is soon, don't run at all, you won't loose your conditioning. Have some ibuprofen with you during the race, take at the first sign of pain, but I think you should be fine