For a charger you can use a TP4056 module, many of these have protection built-in. You can tell by them having two more small chips near the solder pads, and of those pads having 4, two for battery + and - , and two for whatever you are attaching that will be protected