Heart Burn and Back Pain

Ri
Has anyone had a really bad heart burn and back pain at the same time? I was in so much pain last night that it lasted almost 2 hours and couldn't sleep at all and I'm only 22 weeks.