This depends on the cause of the high temperature. A person can control a viral fever with medications such as ibuprofen (Advil). Other health-related causes may require other treatments. A person should see a doctor to find the underlying cause and get the best treatment. If the cause is excessive outdoor heat, a person should drink water, move to a shaded area, and avoid physical activity.