Using a temporary number instead of your own is always a solution when you have such issues. That's what I always do. Nowadays there are many websites or apps that provide this kind of service but I think
https://anonymsms.com/ is the best of them all. check it out