Gradually eliminate breast feedings. Replace it with a cup feeding. About once a week drop out one more breast feeding. The bedtime nursing is usually the last to be given up. There's no reason why you can't continue bedtime nursing for months if that's what you and your child want.
Some mothers prefer to wean by decreasing the length of feedings.
Shorten all feedings by two minutes each week until they are five minutes long. Then eliminate them one at a time. Relieve breast engorgement. Because the breast operates on the principle of supply and demand, the reduced amount of sucking time eventually reduces the amount of milk your breasts produce. In the meantime, express just enough milk to relieve breast pain resulting from engorgement.