Did you have a miscarriage if you had severe pains for several hours and when you went to the bathroom a big clot came out and then the pain stopped?

It is quite possible you had a miscarriage. Did you know you were pregnant? Have you had an ultrasound scan before or since?