Can you start working out after conceiving?

I used to work out everyday, then I had twins and now I work out so inconsistently. I planned on getting to the gym last Monday but threw my back out so I haven’t been all week. I am starting TTC in two weeks (October 2nd). I’ve always heard it’s only safe to workout while pregnant if you worked out consistently prior to becoming pregnant. Is that true?