Owners pay/withdrawals

How should I handle owner pay/withdrawals? Do I need to pay taxes on owner withdrawals if they are to pay back a previous investment and how should that be reported on taxes?