If you are using a charger, the charger / power supply has components to prevent current back flow from the battery to the charger. You won't need to add anything I think. In general, most types of diodes allow current flow in one direction. Mostly we want to current to flow from a charging source to a battery or load. My video does show how it is important to match amps and voltage with a particular diode.