Yesterday i took the wrong day pill

Does that matter?!? I still took it same day and time