You may be dealing with a condition called "Exanthematous fever" (fever with rash
which is caused by several different pathogens). Some of the conditions present with rash along with fever, while others present with fever followed by rash.
Drug reaction can also be one of the reasons.
Visit emergency if the child is sick.