Praise be to Allaah.
You have to keep away from everything that leads to a provocation of desire, for these means will no doubt ultimately lead you to fall into doing the “secret habit”, which is haraam. See Question # 329. What counts is doing that which leads to a climax, whether that is done directly by the hand or by using a machine whose vibrations lead to a climax. So strive against yourself (jihaad al-nafs) and do not do that. You must keep away from and avoid places where you may mix with men, because that is haraam according to sharee’ah, because the Shaytaan will make you commit evil actions so long as you meet with them every day, especially since your husband is absent. See Question # 1200. You have to get in touch with your husband and tell him that he has to be there so that you will not end up doing something haraam. See Question # 6713. And Allaah knows best.
Sheikh Muhammed Salih Al-Munajjid