Don't worry. A strong cough would strain your rib cage muscles and cause rib cage pain or cough-related pain. I do not think you just have flu, since the treatment for flu is something like ostelvamir. Amoxicilin is an antibiotic that is used to treat bacterial infections, not flu. So your doctor may actually consider you have bacterial infection.