I am a final year undergraduate student and had worked on a very fundamental project(there is no available literature on this field presently) during my sophomore year. The results obtained were quite interesting but there was no available literature to back up my results. My supervisor suggested me to submit it to a conference and get reviews on the work.
I did the same and when I submitted the final paper, I got a strong accept with quite positive feedback. I presented the paper at the conference and was also appreciated by my conference chair who said that it was an interesting finding. However, while working on the journal version recently, I discovered a severe error in my paper which completely invalidated the claims I had made in my work.
The conference was highly reputed and delegates from all over the world were present. I feel really ashamed of presenting the wrong work at such a big stage. I discussed this with my supervisor and he told me that we will decline for publication by stating the reason when they will send the copyright form for inclusion in the digital proceedings. This gave me a sense of relief.
However, I cannot stop thinking about having presented the wrong work and seems like I should not have gone for it in the first place. Please suggest me what should I do. I have a deep interest in research but I am in constant fear that my habit of premature celebration will land me into trouble someday.