Cramps early in pregnancy?

Tam
Lately I have been having mild cramps. I am 6 weeks pregnant & I recently went to the emergency room for the cramps. Doctor said it was only a UTI & prescribed me some pills. I'm still having the cramps & it's got me worried. Need some advice..