You castle by moving your King two squares toward either Rook
Rules
1. You may castle only when there are no peices in b/e your King and Rook
2. You may not castle if it puts your King into check or you are crossing into check
3. You may not castle if your King is in Check
4. You cannot castle if you moved your Rook or your King even once.