I am very confused as to when I should use 'in' versus 'on'
for example..I have something in my mind or on my mind.
I like to walk in the park or on the park?

What are the rules for using these two words?

Thank you!