How can I create a heatmap from DEG analysis of three treatment groups?

Hello,

I am following this tutorial for DEG analysis of my RNAseq data. However, my data has one factor with three different levels.

How can I create a heatmap including all the DEGs from the pairwise comparisons that DESeq2 has outputted? I have three DESeq2 results files (one for each pairwise comparison between my three groups).

Thanks!