Depending on the model, which you didn't provide there could be five possible problems:
# Main board
# Defrost time
# Defrost sensor
# Defrost element
# Fridge needs to be pulled out and coils vacuumed and cleaned
When I had the problem, it was ther defrost element. If everything else is working, I doubt it's the main board.