I also thought you might loose him. I am so sorry for your loss. Doesn't matter that you've only had him a couple of weeks, it's still very hard. I am truly sorry it happened like this for you.
If you are interested in trying again, I totally agree with the above posts. Do not get one from a pet store. You can find one from a reputable breeder, a well-started and healthy baby, for only $20-30.
Fix the husbandry things we've mentioned here, read up on the caresheet, get that accurite and the t-stat and get your setup all ready and situated and your new baby will be off to a great start! And, again, I'm sorry this happened.