Sharp, fleeting chest pains on deep breathing are usually due to a pinched intercostal nerve
or muscle that runs between 2 ribs.
These pinched nerves usually resolve after a few days. Avoid straining your rib cage until symptoms resolve. See your physician as needed if symptoms persist or worsen.