If its thru the clearcoat and color coat, the answer is "not much". A pro detailer might be able to minimize the damage by levelling the clearcoat around the scratches but that's a mostly cosmetic fix. Best thing to do is a repaint of the area.
Its not the size of the scratch, its the depth that makes it unfixable unless repainted.