Pregnant and nursing

I’m 5 weeks pregnant and I only breastfeeding my 4 month old. Every time I feed I get cramps. Is that bad? Has anyone had bad results of pregnancy due to breastfeeding?