He Wants Marriage, She Wants Out

How to avoid becoming the clueless guy who gets dumped unexpectedly when he wants marriage, but she wants out.