Pregnancy question

While pregnant is it normal to have gas that's causing a little cramping? Im farting like crazy but having occasional cramps lol. I'm about 5 weeks pregnant.