I have been getting stomach pain that travels around to my back?

Hello I have been getting stomach pain that travels around to my back for about 6 months. It is a steady pain that does sometimes get worse it can go away for a few weeks but always returns. Sometimes Lying in certain positions eases the pain but not always. What’s the possible condition