How do I get a state medical marijuana card?

I'm assuming you are in California. The state card is not necessary and in fact limits the amount of plants you can have, among other things. With legalization coming soon, the protections ( police tend to respect this card moreso than a doctor's recommendation) afforded it probably aren't worth the expense.