ac not working on 1997 BMW 318is

I don't know if this is the problem the ac doesn't come on most of the time it kicks in once in a while so if figure it the blower motor resistor am I right are wrong is thinking this.

Asked by for the 1997 BMW 318is