Hi, I had a quick question

I am twelve weeks pregnant and am experiencing a lingering pain in my upper abdomen, near my diaphragm. It is there all day and never goes. Sometimes I experience what feels very much like period pain too. What could this be?

Thank for your help :-)