As said in A Boogie Wit Da Hoodies song “Stain (feat.DaBaby)” to put a stain on someone means to stain someone’s clothing with the blood from a gunshot wound.
“Put a stain on a nigga if he touch me”