Welcome to the forum.
From description it seems you might having costochondritis
.It is the inflammation of sternum
where rib meets. Give rest to the part. Avoid activiries that aggrevate the pain. Take anti-inflammatory drug like motrin
to reduce pain and inflammation.
I hope this information has been both informative and helpful for you