Pills in bathroom! Please help!!

Does keeping the bill in the bathroom completely ruin it or just lower it’s effectiveness a little? Am I still at least partially protected? This is super important for me someone please help lol