you should castle before you break in the center, and you should castle when either all your minor pieces are developed as white or as black castle kingside as fast as possible dont castle queenside unless there is some sort of tactic check for tactics first of course
what time should you castle?