Attacking the king is great - but it's not always the right move. Be patient. Make sure that a check accomplishes a goal, like helping to mate or preventing your opponent from castling. If your opponent has a useful move to get out of check, it's probably not worth it.