Getting Sonic to run really depends on which game you are playing, since the controls differ from title to title.
In most Sonic games, running is simply his default movement—push the control stick or hold the direction and he takes off automatically. If you let me know the specific game, I can give you the exact button or input to get him sprinting.