I just know a little bit about that but as long as you can logged it to the contract address and you can get back your amount. But this is only the possibility if you can't do anything with it and i'm sorry for your lost.
When you are creating a contract and i assume you will have access to the your contract. maybe i'm wrong about that.