You should always be sure the macbook is fully charged for at least 4-6 hours before using; and leave on the power adapter after that time, to be sure the battery does not go flat. And use the AC-DC adapter to power your portable mac, whenever you have mains power available; keep the battery alive, do not let it go flat.
• About Mac notebook batteries - Apple Support
https://support.apple.com/en-us/HT204054
To run the portable's battery flat or dead is asking for trouble.
The cycle-count can be kept Low and overall battery life lengthened for much longer ~ if you seek information and follow it near religiously. Several important details are among sub-links within above Support article. Also seek the companion article for maintaining the power adapter and if it's magsafe, keep the port free of debris; and be careful to avoid rough handling.
Good luck & happy trails!🌞