It's great to see you here, Selena.
To merge them together, you have to edit the Display name as field of the duplicate employee to exactly match the employee you wish to keep.
However, you can't merge employees both of them has paychecks. If that's the case, you will need to delete the paycheck from the duplicate worker. Then, recreate the transaction to the correct one. Here's an article that talks about merging employee's in QuickBooks Online: How To Merge Employees.
You can always reply to this thread if you have follow-up questions.