Thanks for posting your query.
Painless uterine contractions in pregnancy
are normal, but if these are occurring with pain & some blood mixed discharge vaginally then these are said to be preterm labour pains.
So consult your gynaecologist as soon as possible for further management.
I hope your query has been answered.