Working out

Is it ok if I work out while I'm on my period? I have cramps and was wondering if working out will make me feel betterĀ