Is it spelled imediatly or immediately?

It's spelled immediately.

i - m - m - e - d - i - a - t - e - l - y

not imediately,

and not imediatly.