Boundary

how do i make a boundary for my “game” i have a movieclip that moves with the arrow keys and i dont want him to leave the “stage”

anyhelp