For someone experiencing heat exhaustion, the recommended action would be:
B. Stop exercising
It's important to stop any physical activity, move to a cooler place, hydrate, and lie down to help the body recover. Elevating the legs (A) can also be beneficial, but stopping exercise is the most crucial step.