All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His Slave and Messenger.
You have committed a grave sin, and your bashfulness and shyness were inappropriate and drove you to commit what is forbidden. There was nothing wrong or shameful in telling your relatives or others that you had a wet dream and that you were Junub. On the contrary, it was your responsibility to tell them so as to provide you with the needed water to perform due Ghusl and pray; for prayers are invalid without purity. However, in light of what happened in the past, you should make up for it and pray a Thuhr prayer and repent from your sin and seek the Forgiveness of Allaah The Exalted. Moreover, if you had performed any other prayers that day before performing Ghusl, then you should make up for them as well.
Allaah Knows best.