First remove all your old drywall leaving a straight clean edge on each side. Then cut your new piece and screw it into place. Next apply joint tape over the seams and your mud. Once dry sand and apply your skim coat. Once dried it can painted after final sanding.