Error with Social Security on W-4 and I-9 while applying for job

So recently I applied for a job at Carls Jr and they asked me for my ID and Social Security I provided them with everything and didn't think much of it since I got the job. When I got home it turned out I provided the wrong SSN while applying and getting hired. Now I lost my first job because apparently, they can't hire me and now I'm just worried about those two forums we did while applying. I'm a Teenager in High School with no one to ask and I'm lost.