6 weeks 3 days with side pain

I have this stabbing pain on my right side above my hip. It's mostly felt in my upper abdominal area... I was just sitting on the couch and it started.. it lasted 15 seconds and went away once I started to walk. Could it be gas??