How to prevent x axis labels overlapping each other?

how to prevent x axis labels overlapping each while plotting a line plot.