chisel off rotten wood. looks like you will probably have a 4 cubic inch hole after that.
use wood filler to patch. u can also use glazing compound, easyier.
sand to smooth surface.
use exterior paint 3 coats.