Spending time in the sun while taking certain medications can result in unhealthy reactions such as phototoxicity, photoallergy and hyperthermia.