Kidney stones or infection?

14w pregnant

Lower back pain

Lower right flank pain

No appitete

Should I go to the ER? I have a history of kidney issues