Fill your pan no more than 2/3 of the way up.  If you fill the donut pan fully, the donuts will overflow.