Am I taking the pill wrong?

I’ve been on the pill for about two months now, are you supposed to take the pill at the same time everyday? I’ve been taking mine at completely different times everyday, am I doing it wrong or is this fine?