A miscarriage is the loss of a pregnancy during the first 23 weeks.
The main sign of a miscarriage is vaginal bleeding, which may be followed by cramping and pain in your lower abdomen.
If you have vaginal bleeding, contact a GP or your midwife.
Most GPs can refer you to an early pregnancy unit at your local hospital straight away if necessary.
You may be referred to a maternity ward if your pregnancy is at a later stage.
But bear in mind that light vaginal bleeding is relatively common during the first trimester (first 3 months) of pregnancy and does not necessarily mean you're having a miscarriage.
There are probably many reasons why a miscarriage may happen, although the cause is not usually identified.
The majority are not caused by anything the mother has done.
It's thought most miscarriages are caused by abnormal chromosomes in the baby.
Chromosomes are genetic "building blocks" that guide the development of a baby.
If a baby has too many or not enough chromosomes, it will not develop properly.
For most women, a miscarriage is a one-off event and they go on to have a successful pregnancy in the future.
The majority of miscarriages cannot be prevented.
But there are some things you can do to reduce the risk of a miscarriage.
Avoid smoking, drinking alcohol and using drugs while pregnant.
Being a healthy weight before getting pregnant, eating a healthy diet and reducing your risk of infection can also help.
If you have the symptoms of a miscarriage, you'll usually be referred to a hospital for tests.
In most cases, an ultrasound scan can determine if you're having a miscarriage.
When a miscarriage is confirmed, you'll need to talk to your doctor or midwife about the options for the management of the end of the pregnancy.
Often the pregnancy tissue will pass out naturally in 1 or 2 weeks.
Sometimes medicine to assist the passage of the tissue may be recommended, or you can choose to have minor surgery to remove it if you do not want to wait.
A miscarriage can be an emotionally and physically draining experience.
You may have feelings of guilt, shock and anger.
Advice and support is available at this time from hospital counselling services and charity groups.
You may also find it beneficial to have a memorial for your lost baby.
You can try for another baby as soon as your symptoms have settled and you're emotionally and physically ready.
Having a miscarriage does not necessarily mean you'll have another if you get pregnant again.
Most women are able to have a healthy pregnancy after a miscarriage, even in cases of recurrent miscarriages.
Miscarriages are much more common than most people realise.
Among women who know they're pregnant, it's estimated about 1 in 8 pregnancies will end in miscarriage.
Many more miscarriages happen before a woman is even aware she has become pregnant.
Losing 3 or more pregnancies in a row (recurrent miscarriages) is uncommon and only affects around 1 in 100 women.