Test the pregnancy whenever you can
Testing tissue from a miscarriage is the most direct way to find out whether that loss had a chromosomal cause. The RCOG recommends offering it for the third and any later miscarriage, and after any loss in the second trimester; privately, it can be arranged after any miscarriage.
Each result changes the picture. A chromosome change usually points to a chance event, and tends to mean better odds next time than a loss whose chromosomes were normal, unless a parent carries a rearrangement. A normal result after repeated losses makes the other investigations on this page more important.