I clicked on a link and was brought to odd screen
Ok so today I was messaging someone on a game application called Steam, when a person sent me a link to a website that is commonly known to share photos or screenshots from a game or something (nothing bad). Knowing it was a trustworthy website i clicked the link and all of a sudden my macbook shutdown, and a screen i had never seen popped up. I don't remember too well but I would describe the screen with a black background with warning signs and I believe the words on it said "Warning a problem has been detected on your mac... etc" after a certain amount of time my desktop popped back up with one of those tabs saying a problem has occured would you wish to report this and I did. After being very nervous I talked to a friend who knew more about technology than me and said it was possible that the person who sent the link could have downloaded a RAT or virus onto my computer. I would really like to know if there is anything I can do, I searched through my files and could not find anything new or out of the ordinary. Also I would like to note that when I went to my web browser google chrome, the link that I clicked on did not appear in my search history. If there is any way I can run a scan or personally detect any virus any advice will help. THANK YOU!!
MacBook Pro with Retina display