There are no prostrations to a master. One way is to bow from a kneeling position and touch the forehead to the floor, and resume with a wai. This is done three times to the Buddha, and then three times to the senior Bhikkhu, if one is present before you. Theravada prostrations are generally more simple than those found in some Mahayana schools. That's just one way to prostrate in Theravada. I also learned a mindful slow prostration, from the same position, that can be practiced, but what I describe above is more common. There may be others that have learned prostration practice in Theravada that involves prostrations in multiple repetition, but I have not seen that myself.