From your description it appears that this is being prosecuted as a civil ordinance violation. If so, the good news is that this charge will not show up as a criminal record. However, it still does not look good on most background checks so you really need to get this problem figured out. If you are being treated for the depression or other mental health issues you may want to obtain some verification of the diagnosis from your treatment provider. The prosecutor may take into account if you are addressing these concerns appropriately if they appear to have contributed to your behavior.