how do I stop him?

When I found out it's usually the next morning he's up in the bed already... But sometimes when i woke up he's still on the floor jumping trying to get on, he's tiny the bed is tooo high for him, he could hurt himself!!!
How could i let him get the idea it's bad and nono b4 he really hurt himself bad

tnx