Is it spelled rythm or rhythm?

It's spelled rhythm.

r - h - y - t - h - m

not rythem,

and not rythm.