It should be "on your way home". There are some other problems though. The minimum corrections would be to add a space after the comma (if indeed you need a comma) and insert "the" before "swimming pool".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
sunsailAs far as I know grammatically "on your way to home " is not correct.I just want to be sure about this