Need help

Patient: Dr. I’m 29 yrs and I have diabetic.but I’m under medications and under is my 18 dpo and I got negative results on 13 dpo and 17 dpo.on 17 dpo I experienced with bright reddish cm at the beginning and now it became brown flowing and it is coming and going.what is this situation?