Don't worry these things happen. But you always want your car to be in top condition.
A compound will only help if it is light scratch only in the clear coat layer and not deep in the main paint layer.
If it is a simple paint transfer from hitting something else, compound will easily take it off.
Hope it comes off. When you compound by hand make sure you really work in with a clean applicator pad and buff off with microfibre. Also apply a sealant in the end to protect after compounding.
Sent from my iPhone using Tapatalk