Pains in stomach?

I’ve been getting pains in my stomach (kinda just below my ribs in the centre) for about an hour. I was totally fine and then it just came on all of a sudden and they’re pretty sore. I’m also getting some on the lower right side of my ribs. I’m not sure if I’m explaining it well but it’s not that it’s just sore, it’s more pains 😞 I’ve not ate anything bad. I’ve just sat down just now with a hot green tea to see if it helps. I’m 22 if that matters.

Does anyone know what it could be?