There are many different ways one might hear the Holy Spirit. Sometimes he goes us feelings of love, joy, peace, patience, faith, or hope. See Galations 5:22-23. The Holy Spirit may give us ideas to the mind, or occupies the mind and presses on the feelings. Good feelings and enlightening your understanding of things as in Alma 32:28. Sometimes a feeling of replacing darkness with light and gives comfort to your soul.
How do you recognize a thought from the spirit vs otherwise? Gordon B Hinckley said, "You recognize the promptings of the Spirit by the fruits of the Spirit--that which enlighteneth, that which buildeth up, that which is positive and affirmative and uplifting and leads us to better thoughts and better words and better deeds is of the Spirit of God."
I have found for me, answers to my prayers often come as a burning feeling such as in this passage from D&C 9:8-9
When I was young and choosing which Collage to go to, I went to the Lord and asked him in prayer after studying out in my mind a few options. I knew a lot about my choices. I thought before approaching in prayer that the one closest to my home would likely be best, but wanted to know for sure if it was the path God would suggest. I asked if this school was the right decision and I did have a stupor of thought. My mind felt uneasy. It didn't declare "No! This is not your path" It just felt wrong. When I then prayed about another option, my heart felt so at peace. It was unexpected, but I knew it was God speaking to my heart.
I encourage you to spend time studying, praying and pondering. Try to listen for the Spirit in your life, which is there to speak to us all if we listen with more than our ears.