i always wait for my period to come, but i was told today that you can still ovulate even if you are pregnant, is the true

i thot only you ovulate while you are not pregnant