baby moving or gas? 18 weeks

How do you tell if it's the baby moving or gas, I thought I felt little taps in my stomach below my belly button then a few seconds later I felt like I needed to pass gas lol tmi but yeah how do you tell the difference, was it just gas?