Bam Margera was 7 months sober ... until he got robbed and needed a drink.
Bam just HAD to crack open a cold one after being jacked at gunpoint in Cartagena, Colombia.
The "Jackass" star says he got robbed of $500 during a shady taxi ride from the airport. He was traveling alone ... and sounds fortunate to be alive.
Bam had been on the wagon since checking into rehab in January following his DUI arrest in Los Angeles.
Bam's beer of choice? Club Colombia.