No need to feel guilty!! We have all done the same thing at one time or another and even if it's the "wrong" thing to do, you still gain knowledge and data for the "next time"!!
And trust me, there's always going to be a "next time" and now you'll be better educated about what you should do!