I found a website that explained it all in detail and which gave in-depth step-by-step instructions on how to stop it.
In this website I learned that there were two kinds of spam that one needed to be aware of - ghost spam and crawler spam. And the author explains that ghost spam is the hardest to stop because it is the most aggressive and doesn’t leave a trace of any kind, hence, the term “ghost”. Also, it can attack all the categories of your traffic not just the Referrals section.
So in this tutorial I have skimmed through the instructions to walk you through the main steps of how to get rid of both kinds of spam by creating two separate filters in Google Analytics.
You will need to cross reference the website to see which kind of spam you have and I will be providing that link shortly.