Making the char move on a platform

I think the title is quite self-explanatory:
In a platform game, how can you get a character to move with the platform - the platform usually just runs off without you and you fall down.

Any help appreciated