can't open preferences because iCloud window won't close
hi , im new to macs , very new , and im trying to open my preferences but when i do , i get a window with icloud , that wont close , it just shows the orange light , no green , no red , just orange . and when i do press the orange option it just puts it into stack , then i try to open preferences again and instantly the icoud window appears and wont let me cose , its even got the box with ' done ' to click , but nothing happens when i click the done box , im frustrated because i cant do nothing to my references because of this icloud window that wont quit , even open icloud and tried to quit but it wont because of this window.thankyou beforehand for any help ,im new and desparate thankyou john.
MacBook Pro, OS X Server, mavericks