What is it when u have a sharp pain by your heart?

Depends. You really need to be interviewed and examined to see if it is a dangerous issue or not, so seek medical attention if you are concerned.