Tap and hold the message which you want to remove the heart and tap the heart tapback to remove the heart. If you have added a heart in a text, you can edit or delete it if you are on iOS 16.