It hurts when I breathe or sometimes when I move it comes and goes.
Most commonly this type of ache or pain is from costochondritis, which is a harmless chest wall rib cartilage centered pain. It derives from a minor strain of the rib cartilage that exists where the rib unites with the sternum.