First, I recommend against it. Your ball python doesn't need it. It's difficult and expensive to set up correctly and maintain. Setting it up incorrectly or failing to maintain it can harm your snake. Simply put, it's more trouble than it's worth.
Second, if you're determined to add it anyway, you need to put a guard around it. We can provide more assistance if we know more about your set up, particularly, it's dimensions. Pics are particularly helpful. This thread will show you how to post them: https://ball-pythons.net/forums/show...-Post-Pictures.