if you can see metal or primer you will have to sand it a little bit, them fill in some touch up paint and then compound it. if the metal is not dented inwards then the scratch will be gone for good. but this isnt something any painter or you yourself can do, contact detailing crew, they will do it best, if you cant afford that treatment than just fill it with touch up paint and live with it.
if the metal/ primer isnt showing then it can be fixed by compound