Need help with ball game

I need help! Im making a simple ball game, but its my first game, so I was wondering if anyone can help me! I dont know thow to make a ball that moves like a ball and only can go left and right. It must also be able to fall.Thanks.

The your game image is like this fig ?