Use TextMeshPro for most UI text.
using TMPro;
[SerializeField]
private TMP_Text healthText;
Update:
healthText.text =
$"Health: {health}";
Other properties:
healthText.color
healthText.fontSize
TextMeshPro also supports rich text tags.