Either cut the corner off at an angle and make a new corner using dowels or biscuits to join it then use good strong wood glue and some clamps. It may well need some P38 filler to finish it off.
Alternatively, just use P38 filler and keep building it up until it looks correct, then obviously sanding and painting.