My anxiety management tips are now posted in my profile's Journal, which I invite you to peruse.
Having better control over your nervous tension/anxiety levels ought to be helpful.
Anything that helps will be welcome
You will find many tips of quitting or reducing frequency of masturbating . You can stop watching porno, quit weeds. Google abdominal breathing. Practice it 10 minutes twice a day . After learning this you can calm your sexual urge with 6 or 7 breaths. Any emotions can be controlled with this breathing. If you do it seriously, your life will be completely changed. In this forum and other sexual forums you will find many suggestions of breathing exeercises. Search techniques and practice.
I think the nocturnal emissions seem most likely due to not having sought sexual release recently (it's likely that simple).
One classic approach to dealing with premature ejaculation is to simply accept it and ignore that it happens, wait for your refractory period to pass (perhaps as much as half an hour?) and retry, at which point this is unlikely to be a problem the second time around.
If you feel your general nervous tension / anxiety has become high over this, as it is not at all good for your mental hygiene to worry excessively, may I message you with a list of links to my posts containing anxiety coping tips?
Well I have been stressing on it because I honestly miss my sex life.
But should quitting porn and weed be affecting my sex drive and premature ejaculation problems?
This has been the first time I've ejaculated in my sleep.
How should this be taken care of? How should I cure premature ejaculation problem??
I think you're experiencing extreme emotional distress which impacts your conscious efforts. I'm very confident your plumbing is fine, and that it is nothing to do with your hormones. But your mind, not nearly so fine.
What brought this on? Perhaps overdoing the porn (yes, that's possible; certainly these days of virtually unlimited quantities and depths satisfying every quirk being at our fingertips, versus merely a few magazines just decades ago).
I'm unfamiliar with weed's impacts, but speculate that consumption certainly wasn't helping and may have magnified the problem and encouraged it to fluorish. Abstaining from weed indefinitely (at least, for a few years), is an obvious first step. If you find you must return to porn, I suggest you see if you can manage with soft porn indefinitely.
How to restore your mental equilibrium is the question at this point. It might and ought to restore itself simply with time passing (weeks, or possibly months). What would slow your recovery imo, would be worrying about it -- I predict the more you can just put this in the back of your mind, the easier and faster your return to normal will become.