After each freedive take 3 recovery breaths
A recovery breath consists of a quick exhale, a quick inhale, and a quick hold. Repeat this 3 times. Make it a habit even on easy dives, so that you have the muscle memory for it when you need it.
Read more about recovery breaths here.