EBF moms

How long did it take you to wean your baby off nursing?? I'm planning on weaning my baby off around 6m