Basically refresh is another kind of operation like a read or a write. As you know 2 commands cannot be processed by the DRAM at the same time.So after you execute the refresh, you will need to wait for the appropriate number of clock cycles to excute an ACTIVE followed by a write or a read.