You are probably having an episode of viral
This usually clears up in two or three days.
It can cause viral fever like symptoms and that explains your headaches, etc.
The pain in the chest sounds like acid dyspepsia - antacids like Mylanta two tsf thrice daily and Cap Prilosec one cap daily (both OTC) will help in this.
Take care to have a lot of fluids as it is important to be well hydrated to recover quickly.
If symptoms become more severe or you develop any new symptoms or these symptoms persist beyond a week, see your doctor.
Hope this shows you the way forward - wish you good health and a quick recovery.
I hope my answer has helped you gain more knowledge and confidence about your problem and in knowing what to discuss with your doctor.
I hope my answer has satisfied you. Please remember to rate my service once you have all the information you need. If you have any other questions, please ask me – I’ll be happy to respond. Bonus is always welcome - Thank you!