My room is connected to the room next to it so if I switch the breaker off my room and the room next to it all power turns off. I had an extension cord with wires that were exposed; they touched and sparked so when that happened all my outlets stopped working only in that room. My lights and fan still work and the power and outlets work in the other room. So what can I do to fix this?
Odds are you burnt out the connection point to your one of your receptacles, or you blew apart a splice or pigtail. You need to find the downstream receptacle that is not working and the receptacle that is working just ahead of it. Generally you will find a loose or broken connection in one of those two places.
In short kill power, open the receptacles and try and determine how they are wired from the panel to the last outlet. Then check each receptacle and connection for something that is loose or disconnected. It will probably look burnt or damaged also. It's not a hard problem but does take some time.
Once you have found and fixed the problem reinstall your outlets the turn the power back on and verify everything is working.
Stay safe and good luck.