changing column names

My normalized count file made with Deseq2 returns a table that has the headings in the first row instead so it does not recognise those as headings. How can I change the headings back from 1, 2, 3 etc to the actual headings so I can do further analysis.