Glad to know that you are much better.
Best wishes.
thanks evryone for your suggestions.I am allright now.
hydration could be it. You not eating enough, or drinking enough, then when you relax your body can heat up. Stomach issues such as GERD or a hiatial hernia can cause fever link symptoms due to acid moving up the esophagus when you lay down. Use a wedge pillow see if it helps. Lastly night sweat can be a bunch of things, Check this link to the mayo clinic
http://www.mayoclinic.com/health/night-sweats/MY00576/DSECTION=causes
Good luck
wow seems as if your body is fighting off some kind of infection, for it be at night at the same time is a bit weird, you should get blood work and a urine screen done ASAP. this might be serious.
Sounds like your body is fighting a viral or bacterial infection.
If this does not settle down over the next few days and after taking pain relief medication as prescribed on the packet to ease fever, it may be a good idea to see your doctor to check you out as you may need an antibiotic if the doctor finds a bacterial infection in your ears, throat or chest, or sinuses.
Drink plenty of fluids and especially water so that you stay hydrated.