Storage problem on Lumia 520

Try a soft reset by pressing volume down + lock button simultaneously until your phone restarts itself (your phone will vibrate ). If that does not resolve sadly hard reset is the last option.