I had a stomach virus a week ago.  A few days after I had pain around my ribs like maybe I was sore from throwing up so much.  Since then, the pain is different.  It still hurts in my midsection, most especially when I take a deep breath.  Could this maybe be bacterial?  Perhaps I need an antibiotic?
Hello. Thanks for writing to Chat Doctor. I read and understand your question very well. I try my level bet to explain you. As you have pain while breathing, it may due to rib infection, pneumonia, obstructive disease, or it may be due to injury to your ribs. I suggest you take X-ray of chest AP and Lateral view to rule out causes. Also advise taking ibuprofen for pain. If symptom persist than consult a good physician. I hope my advice will help you a lot. Thanks and Regards. Chat Doctor. 