There are a number of problems all at once here. Depending on the degree of the sunburn, it can take several days to improve. It will also go through stages of peeling and blistering depending on your skin type.
Symptomatic things to do are the aloe vera gel that you are using already, cold, damp towels to help take the heat out and calamine lotion is very cooling when applied to mild sunburn.
Other factor of sunburn is dehydration and this can contribute to the headaches so drink 2 litres (4 pints ) of water each day. Ibuprofen or tylenol may be helpful too.
There is a possibility that the Bactrim could contribute to erythema (redness of the skin) but this would be hard to pin down.
In addition, if you were experiencing an allergic or immune response to the measles shot, this could also explain the redness and increased body temperature.
A perfume free moisturiser should be used on the skin to encourage hydration and this will also help with healing but if there is any sign of secondary infection (yellow crusts or pus) then see your doctor again.
This will improve, but you need to allow time, think of the sunburn in the same way as a first degree burn from a fire or other accident. These take several days to heal, and need to be monitored too.
Does this answer your question?
__________________
If this answered your question please click ACCEPT, use reply if there is something else you need to know regarding your question.Positive feedback or bonus is very much appreciated.

