Castling can be a good move if it allows you to better protect your king and develop your other pieces, such as your rook, bishop and knight. But it also depends on the game's situation. It may be more appropriate to castle at some point, while in others it may not be the best move. And this decision should be taken considering your opponent's position, piece development and other factors that can be effect on the game.