Hello,
Thanks for posting your query. I can understand your concern.
From the history you provided, it seems that you may be having the redness on penis and scrotum either due to an allergy or friction or maybe due to infection of the skin.
I would recommend that you apply neosporin cream and cortisone cream twice a day for five days.
I would recommend that you visit your doctor who can keep a check on your temperature and also order for a few routine blood tests to rule out any infection in the body. That would give a fair idea if why you would get raised temperature.
From your description of the redness on tyre penis, it doesn't seem to be any std etc. but it would be better to rule out the cause of raised temperature.
Also the sores on your feet need to be investigated further, as to the cause of it and how many of them and how deep.
Meanwhile you can take tablet paracetamol twice a day for the raised temperature for two to three days.
Hope my suggestions are helpful to you. Please feel free to discuss further.
Take care.