There are several breathing techniques which can be beneficial to regulate the nervous system. Among them is box breathing.