Discernment, The Spirits, And You: How To Separate Invocation From Ego

Being able to discern talking to spirits or deities from your ego is important, but what steps do you need to take in order to accomplish that? What should you look for in regards to either confirmation or red flags?