Weight lifting questions

I have been working out and lifting weights for about 1 year now. Just wondering if it is ok to lift weights/attend weight lifting class when TTC and when during pregnancy? Is there a weight limit? Is it ok to strain? Thanks!