I believe that people do get messages from God. But to discern them from your own thoughts, or Satan’s - one needs to go to scripture to see if the scripture backs up those ideas.
Ten minutes on a search engine with “Bible verses about sexual immorality” would have probably been enough.
I have a good friend whose brother hears voices. He takes medicine to stay stable. I asked him if there a was to discern whether it is you or the "voices" that are "talking" to him and if so how does he tell which. He told me that it is easy when sober to tell the difference. The difference is that the voice never gives good advise.