how long does 2 tylenol pills last inside you?

like when does it wear off ???  i had a big ol headache so i took 2 tylenol pills an hour ago .. kinda scared my headache will come back but it went away quickly !!!