Contractions at 26 weeks HELP

Tee

Am 26 weeks and having contractions for the past three days, they are strong and painful, I went to the hospital on the first day they checked every everything and said there are no signs of labor, my questions is how can I live with this pain and is it gonna effect my baby ?