Hi, it's ok to do it before meditation. If it's a light excercise like that, there is no problem. In case you did something more forceful, then you'd wait a bit before proceeding with meditation, or you would do it afterwards. But that's not the case, just for your information