how to complete order status automatically after paypal payment received

how to complete order status automatically after paypal payment received