The frequency of having your hair cut depends on the density of your hair, whether you have long or short hair, and whether your hair is being exposed to external agents such as excessive sun, heat, etc.
Bearing in mind that hair grows approximately 1cm per month in general, it is advisable to have a haircut every 2-3 months. By doing so the tips remain healthy and do not break. Your hair rediscovers its vitality and strength.