DMX Crash The Docs Stitched My Head Up

7/17/2012 10:05 AM PDT

is sportin' a couple of stitches on his melon after his brutal ATV crash last weekend ... but the rapper tells TMZ he's planning to "thug it out and get well quick."

TMZ spoke with X ... who says he was released from a South Carolina hospital Sunday night ... one day after flipping his 4-wheeler while riding down a hill.

X says he's still in a lot of pain ... "My head still hurts bad from my concussion and I am having really bad headaches."

X suffered multiple lacerations in the wreck -- and required 3 stitches to close a gash on the top of his head.

Still, the rapper tells us, "It's all good. I am going to thug it out and get well quick."