When to stop night feeding

My son is almost 8 months when should I stop night feeding ? And how do I stop giving him a bottle before bed ? He won’t go to sleep without one.