@SaalHardali, this is a special case of the spectral sequence for module maps
$$Ext^*_{\pi_*(E)}(\pi_*(X), \pi_*(Y)) \Rightarrow [X,Y]_E
for a ring spectrum E and left E-modules X, Y.
You construct it by filtering X by free E modules, just take a map from a wedge of E's to X that's an E-module map (by picking \pi_*(E)-module generators of \pi_*(X)), take the fiber, and iterate.