IUI fail?

I apologize in advance if this sounds stupid... I got an <a href="https://glowing.com/glow-fertility-program">IUI</a> on July 10th got my period 2 days ago.. my doctor says to still take a pregnancy test on the 14th day... Has anyone else has had happen? Has anyone gotten a positive during a period?

I’m so confused.