Thanks for your question.
Basically any chest pain requires an examination by your doctor. In your case in the absence of other symptoms, this is most likely due to costochondritis. The condition can cause a localized chest pain that can be reproduced by pushing on the cartilage in the front of the ribcage. However before diagnosing this condition other serious conditions need to be ruled out by your doctor. Costochondritis resolves by itself, however in some patients it might last for several weeks or longer. Treatment focuses on relief of pain and you may ask your doctor whether you can take ibuprofen for the pain.
If you have no further questions, please rate the answer with a positive rating.