pregnancy question

So my stomach has been stretching out  & hurting almost feels like I need to have a bowel movement, I was wondering were these contractions or baby just stretching. it is verrrrry uncomfortable..