There are no secrets to riding a bike:
1. Do no try to go straight. Move the handlebars violently left and right when you feel you are falling left or right.
2. Going slow is hard. Go fast. The wheels spinning will behave as gimbals, making it easier to stay on the bike.
3. Moving your body will make you fall at first if you do not counteract by moving the handlebar. Start by going downhill, without pedaling.
Learning how to ride a bike could not be easier.