most of the times these bruises heal with time. you just need to ensure that it is only a bruise and not some deep injury
. To rule this out the baby has to be shown to a surgeon.
If you are sure that it is only superficial bruise then you can apply an antibiotic cream like t bact etc.