Am I pregnant or left over hormones

Kaitlyn

So I had a d&c done due to an incomplete miscarriage on July 9th, now three weeks later I took a hpt and it showed positive. (Pic below) I have had sex over the past two weeks but don’t know how long it would take for the hormones to decrease if I wasn’t. Thanks in advance.