Help with a game!

Hi…
I have a platform game, and it’s not a scrolling game…
The player can go, and jump, but it can also go outside the
game-window/screen, so i can’t see it.
I want it so stay inside!
How can i do it?