This sounds like Pneumonia. Check to see if you have a fever. Of so, make appointment to see MD again.
thank you i think im going to go see a doctor today the pain kept me up all last night and is still immobilizing me today
There are many possible causes for this pain - pleurisy (inflamation of the pleura - lining around the lungs, pulled inter statial muscle, broken rib, dislocated rib/pinched nerve). You do need to see a doctor quickly to get the correct diagnosis and treatment.
Feel better. I know what it is like. I have a rib that pops out of place every time I get sick (which is a lot). A PT has helped stop that to some degree though. It is much better.
Take care and God bless.