CPU check page table for page and then take associated frame .If that frame is not present in main memory then page fault occur. When we are looking for something[frame] in main memory and we did not not found that then at this time OS that Frame [we assume frame we referenced present in main memory] will be brought from secondary memory to main memory by using page replacement algorithm . then according to that page table is updated .
SO page fault = page taken from secondary memory to main memory[page replacement algorithm time include] + page table update time