There are quite a lot of different ways how to buy cheap flight tickets. One that is obvious is when you come across an online booking website that has the cheapest offer for that specific flight. Anyway, here is a helpful article, check it out
https://travelsites.com/blog/how-to-find-cheap-flights/