I would take it to the local autoparts place to have them reset the codes. Wait to see if they trip again and make your decision then as to how to move forward. If they both come up again though, start with the lesser expensive of the two. Reset the codes and wait to see if one effected the other as this sometimes occurs.