pain in my upper stomach

so

i have a pain in my stomach but it’s almost like my chesty stomach, it isn’t consistent but it comes every now and then, i’m on my period and i’ve felt this pain before but i’m not sure what it means , does anyone know ?