When you are accused of theft, you have to start thinking about your defense as soon as possible. There are several options that you have. Which ones you choose must depend on the facts of your case, not on what defense worked for someone you know of who faced a theft charge and was found not guilty.
In some cases, you might be able to claim that you were intoxicated at the time of the alleged theft. This wouldn't be appropriate in every case, but might be valid in cases that involve property that was enough like your property that you mistook the taken property for your own. You would need to have a way to prove that the intoxication led you to take the item.