Like @AliceInWonderdab mentioned, meditation is probably the most common way to communicate with your guides.
Make sure you have privacy and set the mood in any way you prefer (candles, incense, music, etc.)
Cast a circle or invoke any type of protection or white light if you feel the need.
Close your eyes and focus on your breathing. When you’re ready say: “I ask my Spirit Guides to join my ritual and make their presence known”.
Notice any changes in your body or your surroundings, any sounds, temperature changes, vibrations, or feelings in different parts of your body.
Write down or store in your memory any images or sensations you receive. Ask them questions if you have any, or state your need for guidance in any specific aspect.
Listen carefully for their answers. Have patience and let go of your expectations and doubts. When you’re ready, give them thanks for their help and say “I release you”.
Finally dismiss your circle and ground yourself in any way you prefer.
If you do this before going to sleep, make sure you have a dream journal next to your bed so you can write down any messages you received in your dreams as soon as you wake up.
There are different types of spirits and guides. The best to work with are ancestors since they will usually have your best interests at heart. Many folk traditions work with ancestral spirits.
Other types would be spirits of the land or spirits of the home.
Here’s a video interview with Sandra Ingerman that has some advice on connecting with spirit guides and the spirit world in general.