How deep is it? If you catch your finger nail on it, you may have to take it to a good detail or body shop to fill it in.
The way I was taught, and it takes some practice is to put a little shoe polish or dark marker into the scratch. Block sand the paint with 2000 grit wet/dry sand paper with lots of water until you see no more shoe polish/marker. Use rubbing compound to take out sand paper scratches. Polish. Wax.
What you can try however, is getting some rubbing compound and trying to see if you can remove it that way. Start off with the least abrasive stuff and work down to more aggressive if you need to.