Ditto for everything shodobe said.
People will only treat you badly if you allow yourself to be treated badly or if you set yourself up for it.
If you come into an operating room with the attitude that "this isn't my specialty" or "I have never done this type of case, I don't want to be here, and I don't want to learn" then, yes, you will probably get yelled at or hear how the surgeon does not want you in his room again.
If you come in with a good attitude, then you quickly become a member of the team.
I have always been lucky to work with great surgeons; only one or two in my day have had severe problems with their coping skills, usually because they were not good surgeons, but they were the exceptions. Those people just need to be made aware up front that you will not tolerate juvenile or abusive behaviour. You don't even have to bring management in to it; you can always solve the problem youself. You can always spot those types--they are incredibly nice in the lounge, but become Mr. Hydes at the O.R. table.
Seriously, the major problems that I see in ORs today are with MANAGEMENT, not the surgeons--budget cuts on the part of people who don't actually DO the cases making it impossible to deliver quality patient care--i.e, lack of instrumentation, internal staplers, even such basics as sit-down stools and prep stands. Usually, the RNs, techs and docs are all on one side, with our mutual enemy, management, on the other.
Don't ever let another person's bad mood dictate how your day will go. Do your 8 (or 12) hours, don't ever feel guilty about being unable (or simply not wanting) to stay overtime (and don't let them lay guilt trips on you about "what if that was YOUR mom (brother, dad, etc.") in there, or worse yet, stick you with having to stay over because you are young and don't have kids (as if you don't have a LIFE.) All that is managementspeak, designed to put the burden on YOU for their ineptness in staffing adequately. Let "staffing is not my problem" become your mantra in this situation, which I GUARANTEE you will come up.
Leave the day behind when you change out of your scrubs and go home.
Good luck!! Go in with a good attitude, be willing to learn, and you will do just fine.
The best thing about the operating room is this: You learn to prioritize. Pretty soon, you will be running your life that way, too, as a series of priorities.