Midcycle spotting

I’m on cd 18 and started getting cramps/spotting yesterday on cd 17.. today the cramps have gone away but the spotting is still there. I took provera to kick start my period.. wondering if it’s from that? Has that happened to anyone else?? I took an opk yesterday and it was negative