Going to the gym while dilating ?

So can you still go to the gym at 1.5 centimeters dilated ?