Help with the pill

Just wondering how important is it to take the pill at the same time everyday? I had one doctor tell me it was very important and another tell me it’s not too important. I’m very forgetful so just want to check 🤷🏻‍♀️