I've been having a really sharp pain by my ribs, what is it?

See a Doc. Difficult to say without an exam. Pain over the rib cage can be caused by problems with the internal organs, problems with the digestive system, strain of the muscles attached to the ribs, fractures of the ribs or growths on the ribs. If this is something that has been going on for a while you should really see your doctor and have it checked out.