Pregnant and took clomid


So I just found out I was pregnant Woohoo!! I thought I was 3 weeks. I started dark brown discharge and cramping. Went for a ultrasound and found out I am 6 weeks pregnant. Totally freaked out because I took clomid pregnant. We saw the heartbeat and my doctor was not concerned. Has this happened to anyone? Was everything ok?