I will write about visiting shrines in Japan.
First, bow twice then clap your hands twice. Again bow and pray. Lastly bow twice.
For the detail of the bow, the second bow should be deeper than the first one.
Also when you clap your hands twice, your left hand should be higher than your right hand and you say your address and name.
For the last two bows, you should bow deeply and the second one should be slight.
I will show you a good youtube for this.