As a lay follower how to deal with uncontrollable sexual urges? I have totally refrained from sexual misconduct and after reading the answers about Masturbation to the previous question on this site I have even refrained from that. Also, I have practically zero sexual thoughts during meditation.

But you see, as we eat food, the body automatically produces semen which is beyond our control. This accumulates and as the epididymis gets full either it ends up in a nightfall or heightened sexual urges which then gets beyond control. 

How to deal with this problem? Do monks face this problem?
Stuck on the horny of a dilemma? Want to get rid of it?

The Root of All Things (Mūlapariyāya Sutta MN 1)
But he doesn’t conceive extinguishment, he doesn’t conceive regarding extinguishment, he doesn’t conceive as extinguishment, he doesn’t conceive that ‘extinguishment is mine’, he doesn’t take pleasure in extinguishment. Why is that? Because he has understood that relishing is the root of suffering,

There are indeed simple things that can be done. From &quot;I am horny&quot;, simply acknowledge &quot;there is horniness&quot;. Unhook the self. There is horniness breathing in. There is horniness breathing out. There is a fly in the room breathing in. There is a fly in the room breathing out. There is breathing in long. There is breathing in short. There is cutting vegetables breathing in long. There is cutting vegetables breathing out long. Etc.
In the modern world with dayglow sexuality in all visible forms around you on the internet or even walking down the street seeing exciting attire or cut bodies, there is a constant stream of distraction. Seeking and abiding in solitude can provide relief. You will need time to deal with each explosion of craving. Exposing yourself to constant stimulus is counterproductive. Look down. Look aside. &quot;No, thank you.&quot;
As you relinquish the craving, note that there is also danger in relishing the fight against horniness (hence quote above). As Ajahn Chah might have said. &quot;Can you endure?&quot;
Note: While sleeping, if the sperm is released during a dream, no fault is being committed. Just observe and let go.