How do I fix my rear axle?
Most likely the freewheel mechanism in the hub has broken. 

Unless you have the knowledge and tools to disassemble the hub you’ll
have to take the bike to a local bike store or mechanic. 

If fixing the freewheel is not possible replacement of the whole rear wheel is likely the solution as replacing a hub requires rebuilding the wheel which has a substantial cost.