what shall i do if I invoice sales order before receive it

I have invoiced return sales order before receiving the shipment on the system how can I go back from invoicing and or receive the shipment. because I am unable to do so

right now returned order is still open and SO seems to be invoiced but still showing as an open order

any help would be highly appreciated

B regards