How to make the character following spline?

I’m having trouble putting the character on the line and do not know how to make it change spline. Can anyone help?