Lump on right Side of back just below ribs

I've recently found a lump on the right side just below my ribs. I went to the doctors and he's sending me for a scan. He said it's quite big it goes under my ribs. I'm so scared I'm thinking of the worst. Could this be anything else?