I recently got into blender and I think I accidentally pressed a key and now my right toolbar is gone. I looked it up and it said press t but that opens up the left toolbar. I pressed n and it open up properties but I don't want that. I want the default right toolbar. thanks for your help
In this case Ctrl + Uparrow is what you need. Or the "return to previous" button up the top. You've entered the 'maximized' view mode which makes one panel (in this case the 3D view) occupy the whole screen.
Another very useful trick is to create a new file (File -> New) and then open your file with out loading the UI. To open a file without loading the UI, go File -> Open and then select your file, and uncheck the 'Load UI' button on the lower left before opening it,
You can try hitting Shift+Space. If that doesn't bring it back grab the top right corner of the viewport where there is a little triangle and pull it to the left to split the screen, then in the bottom left corner change it from whatever view mode it is in (i.e. 3D View) to the Properties panel.