Sand the loose bits off , fill, and sand that down would be my choice.
Getting it to ever look right again though is a black art. It looks like a coloured varnish or lacquer of some type. Certainly don't try to stain the wood. Apart from anything else the filler will take up stain differently...