If one does break samaya with one’s Guru, the best way forward is to accept that it happened, regret that it happened, confess it to the Guru
The biggest problem is when students break samaya with their guru, and they don’t accept it. They pretend nothing has happened. This is happening in Buddhist societies. It shouldn’t be happening, but it is. It is happening in the Tibetan Buddhist communities in India, in Tibet, and in the West, etc. So, therefore, be honest, smart, and be careful. If one does break samaya with one’s guru, the best way forward is to accept that it happened, regret that it happened, confess it to the guru, and reconnect with the guru.
Hungkar Dorje Rinpoche, “History of the Winter Retreat and Other Related Matters of Longngon Monastery”