Possible miscarriage

Just had 3 sharp cramps in a row at 10 weeks pregnant and just had a clump of clear discharge when I wiped is this normal