Why does this happen?

Why is it that I almost always think there is something wrong with me? Like I'm having a heart attack or I'm pregnant? I'm 18 and it gets on my nerves because I know I'm not but my mind plays tricks on me and makes me think I am.. Just why does this happen?