When you log into you ArcGIS online account, under my content, click on your layer. That should take you to the details page. In the "Layers" part of the page, click the small triangle drop down box next to the name of your layer. There you can export your file as a shapefile.