SSD error on startup
Hello.
I recently decided to try to give my old Macbook Pro 13" (2010 - 2012. I don't know the exact date.) a boot to see if I could use it still. However, upon boot, I was greeted by the prohibitory sign. I attempted a hard shutdown, but it took about 3 button presses to turn it off. I then rebooted it multiple times with booth the same and some new results. in addition to the sign, occasionally it will boot to a blank screen then reboot automatically with the" your computer shut down because of an error" message. from there it will attempt a boot but will ultimately be stuck in a boot loop.
In addition to this, I attempted to access the disk using command r, however this left me with a blank screen for a few minutes and then proceed to boot into the prohibitory sign again. I also attempted command p r ( I honestly don't understand what this one is doing. Im not knowledgeable in computer maintenance and just relied on some research I did.) but this once again resulted in a blank screen. However this one was a bit different, as it looped the startup noise with distorted textures and did not boot like the last time (after the second boot sound I let go of the keys and it continued). From there, following the advice of a youtube video, I booted using command s. Things got even stranger at this point. It started normally, looking like the video, then the background became white with the prohibitory sign and a bunch of random black text that is unreadable except for the last part "/AppleAHCDiskDriver/IOAHCIBlock". The command s process still worked though, as it was still visible on the screen. The text also speaks of an issue "failed to open swap file 30". From there I continued following the videos advice and used the fsck -fy command which revealed many errors. It said that a file had an incorrect sized and also this: error 0xe00002ca detected for lvg "macintosh ssd". It also said it attempted to fix it but was unable to.
It is also worth mentioning that I had a similar experience with this computer before (only the prohibitory sign on boot up", however I did not attempt to fix it and immediately took it to a tech. After I got it back, it booted fine but was extremely laggy; even without apps open. I then took it back again and the problem was solved. At one point during these repairs, someone replaced my hard drive with a samsung ssd and may have done some other things as well.
What should be my next steps?
Thanks
MacBook Pro 13″, macOS 10.13