AC short cycling can be caused by a few different things. The first thing to check is your air filter. A dirty filter reduces airflow and leads to a whole world of possible problems (including a frozen evaporator coil, one of the causes of short cycling).
It could also be a problem related to the location of your thermostat. If the temperature controls are near a particularly hot or cool area (like in direct sunlight, or close to an air vent) it can lead to constant on/off cycling.
Low refrigerant can also lead to short cycling. Low refrigerant means low pressure, which can trigger a safety shutoff. When off, pressure comes back up, the AC restarts, and the cycle repeats.
And finally, if the cooling system is too large for the home it’s installed in, this can also cause it to turn on and off frequently because it cools so quickly.
Whatever the cause, an air conditioner that turns on and off frequently needs to be addressed. Otherwise it runs up energy bills, increases your odds of a breakdown and reduces the service life of your equipment.