Dumb actions but no dumb questions

I have a pretty dumb question about something I’d hate to admit is scaring me out of my mind.
I was visiting a friend when we decided to go swimming around 3 a.m. Well, we went
dipping in a swimming pool belonging to apartments her boyfriend used to live in.
But the security guard spotted us as we were about to leave and contacted the police because
we did not have IDs. But after identification, when asked what he wanted to do with us,
the security guard requested that we be put under civilian arrest for trespassing.
So here we are, two 19 year olds cited for trespassing, wondering what will happen to us.
We are to appear in court next month, and we’re scared!! Isn’t trespassing a criminal offense?
If so what will happen to us, to our records? Is there a difference in penalties from a person
with no criminal background, and a person who does? Does the swimming pool need a
NO TRESPASSING, VIOLATORS WILL BE PROSECUTED sign? I mean, the gates were closed, and it says the pool hours in small print, so in other words it’s kind of obvious that we weren’t supposed to be there at that time. But even without that sign anywhere, are we still “eligible” for citation?
What will happen to us??
Trespassing is a criminal offense.
If you are convicted you will have a criminal record.
Anyone facing the criminal charges needs to have a lawyer.  The Supreme Court ruled years ago (in Gideon v. Wainwright) that a defense attorney was so critical to an accused rights, that the Constitution required a state to provide an attorney for those who cannot afford one.  It amazes me how many people will decide to represent themselves in something like a trespassing or marijuana possession case.  Later they find out that having a criminal record may affect employment, college admission and other activities.
Hire a lawyer.  Expect to pay a reasonable fee for the lawyers services.  If you cannot afford a lawyer, ask that one be appointed.  If you think it is expensive to hire a lawyer, check the expense of not having one.