"He said, 'I fought mom.' I said, 'I know, you did good. You did really good,'" his mother Melissa Martinez, told KHOU"He wasn't just going to lay there and let them do whatever they wanted to do. I didn't raise him like that."

Martinez went on a test drive with a driver. Shortly after the drive started, Martinez noticed two men in another car following them. Then the driver stopped and all three men beat and shoved Martinez into the trunk of the car, according to KHOU.

While he was in the trunk, Martinez texted his manager, who started tracking the phone using an app. Martinez used the inside latch to open the trunk and jump out of the moving vehicle.

>> Read more trending stories

The men dropped a gun while they tried to beat up Martinez, according to KHOU. He grabbed it and shot one of the men in the neck before they fled, according to KHOU.

Martinez is recovering from fractures to his nose and cuts all over his body, according to KHOU.