Hey OP. Do not beat yourself up. Relapse happens.
I think of AA as a 24 hour program. The only thing that matters is the next 24 hours. Do not think about the length of your previous sobriety. If you think that you may be craving, please call your sponsor, AA or your sober friends. Go to a meeting. Do not isolate. Be amongst other AA's. Remember, the next 24 hours are more important than the last 24 hours.