miscarriage

How do/can you tell if you've had a miscarriage? I think I did. woken up by the worst cramps ever last night and this morning saw lumps of blood and what looked like...maybe it's my imagination.