It means to take advice, criticism, or a message seriously and allow it to influence your thoughts or actions.

uzeti nešto k srcu; ohrabriti se