How to stop bottle feeding

My son will be one next month and im not sure how to stop the bottle he does very good during the day but at night he takes one to go to sleep.