Which wallet u used ?
I can Suggest u to wait For Some more days and still if its unconfirmed u will get back your btc from where it came ( Hope U didnot Bought Those Btc )
It will be automatically rejected by the nodes in 7 Days..
Unconfirmed Tx arent a big issue ..
You should post about the issue if its unconfirmed for 7+ Days..
However i can give u some tips to prevent such issues in future..
1) Always Put atleast 0.0001 Btc Miner Fees..
2) You can adjust your fees if u want to send an urgent tx.. for e.g. If u need very fast confirmation and u are in urgent need then u can include higher fees for higher priority..
IMO this case is different coz the transaction is a double spend, im not sure what did the OP have done to this but it will really depend on which transaction will get confirmed first (the first and second of the double spend)
At any rate, the replacement transaction has already confirmed.