Help! Miscarriage or Eptopic

Angie • All in God`s perfect time!
Went for a scan today at 5 weeks and 4 days and nothing was viable - not even a sac. Have been spotting since Friday but last night was a bit heavier and red. Not even enough to show on my panty liner but definitely after each wipe. They tested my hcg levels and it went from 834 on Saturday to 2200 today. Now I'm bleeding and there are clots. Still not even enough to fill panty liner but it's there. Is this a miscarriage. And if so, why is my HCG going up?