Take the honor code seriously. Seriously. Your integrity should always be above reproach.
A few examples that come to mind from college...
A female MIDN was hooking up with the SSgt AMOI. She got knocked up. There was an investigation into it and who knew what and when. Female MIDN was kicked out and 2 female MIDN who knew about it went before a board and were almost kicked out for not turning the other chick in (fraternization issue).
I was a senior dating a freshman. Penn State at that time had a policy that seniors in ROTC don't date freshman in ROTC. I broke the rule. My best friend/faternity brother/roommate turned me in. We got an ass-chewing, I made a stink about it being a stupid rule and got the rule changed (not a great example, I was still wrong). My buddy was best man at the wedding, 11 years later we are still married, and he's still my best friend, so I think it worked out ok. I still give him shit about it, but he did the right thing and I don't hold that against him.
Now, ROTC's ROTC, and there are bunch of stupid rules you have to put up with in ROTC while there, so lets put this in perspective of this forum and the real world.
As a pilot, your integrity has to be above reproach. This is not just about the special trust and confidence you have as an officer, as that applies to anybody with shiny stuff on their collar. Its that you are being trusted with multi-million dollar aircraft, perhaps passengers in the back or employing ordnance that kills people. When you open your mouth as an aviator, only truth comes out or you are done flying.
Here's a couple examples.
I was in primary and on FAM 6 I got a ready room down without the pink sheet. I studied the gouge instead of the ITS (or whatever the book with procedures was called) and during the brief I used gouge memonic terms for the procedure vice the procedures verbatim. My IP asked me if I studied the procedures in the book. I told him no, I studied the gouge. He took me out to the woodshed, I got my ass beat, and then he told me that since I was honest with him about what I did and didn't study, he was going to skip the paperwork and put us on the schedule for the FAM 6 the next day and I was to go home and study the real book and not the gouge.
I was in the FRS, and a peer of mine departed a jet after the merge on a 2vX BVR flight. Let me know if you need that translated. When fighting, if you lose control, you are supposed to call a "knock it off" to end the fight while you concentrate on saving the jet. At 6000' AGL, if you are still out of control, you are supposed to eject. He never called the "knock it off," didn't eject at 6000', and scooped it out at like 1500'. They get back to base, and the first thing that is always asked in the debrief is "any safety of flights?" Ie, did anything happen that you got scared about and are so deep in thought about that we might as talk about it now because you won't be paying attention to anything else we say? Crickets, didn't say anything. Then they get to the tape review, where they watch the HUD recording of the fight. IP watches the departure and recovery.
IP: "Why didn't you call a knock it off?"
Student: "That wasn't me"
IP: "Why didn't you eject at 6000'?"
Student: "That wasn't me"
IP: "Why didn't you say anything about the safety of flight?"
Student: "That wasn't me"
IP: "Its right here on the HUD tape!"
Student: "That's not my tape"
Back story is student was a gifted pilot, something like 75/80 NSS out of flight school, top of his class in the FRS. End of story is student goes to a FFPB, lies again in the FFPB, and never flies again.
I was in the fleet and made a low pull on a low altitude attack. A bad low pull. Get back to the ready room debrief and fess up about it. PTO yanks me into his office for another debrief and tape review. Again I fess up. I got taken off the flight schedule a couple days, but was put right back on it. PTO told me that he and the OpsO had already watched my tapes and knew what I did, and that if I had lied to him, I would have been FFPB'd, and they were only letting me fly again since I fessed up.
I could tell many more stories but they all end the same. You make a mistake, you man up about it, and you most likely will continue to fly. Even if you crash a jet or somebody gets killed. You tell the truth, a board finds that you are trustworthy and trainable, and you move on.
You lie one time and you are done flying.
So, long post, recap back to the first sentence. Take the honor code seriously. Seriously. Your integrity should always be above reproach.