When my son was teething, I gave him Tylenol before bed for pain and when he woke up during the night.
i would go check on him, but not hold or nurse him, just show him that i was there for him and then i would go back to bed.