There are a few things that would cause the frost:
1. Your unit could be low on refrigerant
2. There is not enough airflow
3. The condenser is incorrectly sized
4. There is inadequate return air
I would recommend that you contact a professional technician to find out and fix the issue.