If the fever lasts for more than 4 days and medications had no effect, consulting a doctor is a must. Some infections that cause fever need to be treated with antibiotics.