Periods and ovulation

Just a quick question that i think i may know the answer to but I'm just confirming. If i am having periods does that mean im ovulating.

I recently came off the mini pill and have had two periods so im trying to confirm if my body is ovulating again because I'm now trying to conceive.