Confused – Should I invest lumpsum now or through STP?

Ideal tenure of STP, is it better than lumpsum - Systematic Transfer Plan