High temperature along with throat pain generally indicates a doshic imbalance especially Pitta dosha. Sounds like you have attempted some basic measures, however when such symptoms continue, it becomes imperative to manage the dosha imbalance in a targeted way while taking into account your constitutional type and requirements.
To begin with, you can try some quick fixes to pacify the elevated pitta in your body. For instance, prepare an infusion using coriander seeds which should help bring down your temperature and ease the inflammation in your throat. Boil a teaspoon of coriander seeds in a cup of water for approximately 5 minutes, then strain and drink slowly.
You may also try melting a spoonful of ghee in warm milk and consuming it before going to bed. Ghee possesses anti-inflammatory qualities which will alleviate the burning sensation you are experiencing. However, please ensure that the milk is not too hot, lukewarm is ideal.
Avoid eating spicy, salty and sour food which aggravates pitta. Eat cooling foods like cucumber, melons, and sweet fruits which may offer some relief.
Try breathing in the steam of boiling water with a few mint leaves added to it. Not only will this give you relief from throat pain, but it will also clear any congestion, if any.
Stay away from direct sunlight and hot water baths. Get plenty of rest, stay hydrated, and avoid exertion.
It is extremely important that I emphasize here that if you have a high temperature or the symptoms worsen, then please consult a doctor without delay. Although Ayurvedic treatments may help, they cannot take precedence over emergency medical attention. High temperature and intense throat pain may require medical evaluation to rule out bacterial infection.
These are measures to help you feel better and balance your doshas, but they cannot take precedence over medical emergencies. When symptoms are serious, prioritize your safety first, alright?