user-1: 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? 

user13808: This message does not reply directly to the question, but A few days ago I found this sutta
https://suttacentral.net/an7.50/en/sujato
Numbered Discourses 7
Aṅguttara Nikāya 7

A Great Sacrifice
Mahāyaññavagga
Sex
Methunasutta 

he phrases the liberation in this term

As long as I saw that these seven sexual fetters—or even one of them—had not been given up in me, I didn’t announce my supreme perfect awakening in this world with its gods, Māras, and Brahmās, this population with its ascetics and brahmins, its gods and humans.
But when I saw that these seven sexual fetters—every one of them—had been given up in me, I announced my supreme perfect awakening in this world with its gods, Māras, and Brahmās, this population with its ascetics and brahmins, its gods and humans.

perhaps you can strive to do the opposite of what a person ''who lives the celibate life impurely'' does

user13709: 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 "I am horny", simply acknowledge "there is horniness". 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. "No, thank you."
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. "Can you endure?"
Note: While sleeping, if the sperm is released during a dream, no fault is being committed. Just observe and let go.

user254: What it says that how to deal with lust that is not much of psychological but a byproduct of biological processes.
I read some people describe it as some kind of "physical need", but I don't buy into that theory.
I suppose it's more like an itch, where if you stop scratching then it stops itching after a while.
An itch too is a "byproduct of biological processes": but so what.
I suppose you can "deal with" (or avoid) this problem via a combination of "psychological" measures (e.g. guarding the senses to avoid attaching to objects of sexual desire, e.g. to sights and ideas and bodily sensations); and maybe "physical" measures (e.g. having some other physical exercise, and enough sleep); and maybe "emotional" too (e.g. feeling happy with things as they are); and perhaps "conceit" i.e. comparing yourself to other people (e.g. "they don't, and I can be like them" -- see here and here).
There are other "psychological" suggestions too (e.g. meditation on foulness of the body, graveyard meditation) in the linked topics. But maybe that style or topic of sustained thought is a raft i.e. you don't need it after you arrive on the other shore (i.e. after cessation).
Perhaps people's bodies vary from person to person as well as from time to time, but I'm pretty sure that Buddhism considers food for example to be some kind of necessity, but not lust.
Maybe "the control of urges" is learned over time, e.g. growing from being a teenager to being adult.
Do monks face this problem?
Maybe not: the Vinaya considers it an offence.
Or, who knows, maybe they do: I've also read claims that few monks really live according to the Vinaya.
I once read of a monk (of Western origin) who suicided after complaining of priapism or satyriasis (hypersexuality), and dysentery (reference) -- but I hope that's an abnormal experience.

user-1: If you are a layperson you are not expected to abandon all of these urges apart from the actual sexual misconduct, which is mainly harm to others, and depending how people view it, might or might not include masturbation (for some claim it takes two to tango). You are also not expected to abandon your wife as the object of your love and so on.
Unless you, of course, take up Eight precepts, instead of Five. You can, however, attain a decent life full of happiness, joy and bliss getting away with just this simple way. For example, I only take Eight precepts occasionally for short period of time, i.e. a month. 
I would not advise to overthink that and be too harsh on yourself and just try to be reasonable about it instead. Too much restriction, too quickly, and the one might get a certain extent of back pressure which causes misery. As such, especially when suppressed, things might get worse, even out of control. In short, take it easy, there will be time and day where you have certain enough insight in Emptiness, or shall I say, things deprived of their Self essence, that you no longer perceive women in such way.
Now, there are antidotes for sexual lust in Buddhism, it might be helpful to read on overcoming Five Mental Hindrances or in Mahayana, Seven point cause and effect method, where practitioner equalizes self and the others completely, for instance, viewing other beings as objects of deepest endearment - here, all women as our mothers.
But most importantly, cultivate patience in regard to such basic and powerful innate instincts, so do not tread on yourself by mistake; this is not liberation from suffering, this is applying it.

-1: <p>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.</p>

<p>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. </p>

<p>How to deal with this problem? Do monks face this problem? </p>
 13808: <p>This message does not reply directly to the question, but A few days ago I found this sutta</p>

<p><a href="https://suttacentral.net/an7.50/en/sujato" rel="nofollow noreferrer">https://suttacentral.net/an7.50/en/sujato</a></p>

<p>Numbered Discourses 7
Aṅguttara Nikāya 7</p>

<ol start="5">
<li>A Great Sacrifice</li>
<li>Mahāyaññavagga</li>
<li>Sex</li>
<li>Methunasutta </li>
</ol>

<p>he phrases the liberation in this term</p>

<blockquote>
  <p>As long as I saw that these seven sexual fetters—or even one of them—had not been given up in me, I didn’t announce my supreme perfect awakening in this world with its gods, Māras, and Brahmās, this population with its ascetics and brahmins, its gods and humans.</p>
  
  <p>But when I saw that these seven sexual fetters—every one of them—had been given up in me, I announced my supreme perfect awakening in this world with its gods, Māras, and Brahmās, this population with its ascetics and brahmins, its gods and humans.</p>
</blockquote>

<p>perhaps you can strive to do the opposite of what a person ''who lives the celibate life impurely'' does</p>
 13709: <p>Stuck on the horny of a dilemma? Want to get rid of it?</p>
<blockquote>
<p><a href="https://suttacentral.net/mn1/en/sujato" rel="nofollow noreferrer">The Root of All Things (Mūlapariyāya Sutta MN 1)</a></p>
<p>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,</p>
</blockquote>
<p>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.</p>
<p>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;</p>
<p>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;</p>
<p>Note: <a href="http://en.dhammadana.org/sangha/vinaya/227/13sg.htm" rel="nofollow noreferrer">While sleeping, if the sperm is released during a dream, no fault is being committed</a>. Just observe and let go.</p>
 254: <p><strong>What it says that how to deal with lust that is not much of psychological but a byproduct of biological processes.</strong></p>

<p>I read some people describe it as some kind of "physical need", but I don't buy into that theory.</p>

<p>I suppose it's more like an itch, where if you stop scratching then it stops itching after a while.</p>

<p>An itch too is a "byproduct of biological processes": but so what.</p>

<p>I suppose you can "deal with" (or avoid) this problem via a combination of "psychological" measures (e.g. guarding the senses to avoid attaching to objects of sexual desire, e.g. to sights and ideas and bodily sensations); and maybe "physical" measures (e.g. having some other physical exercise, and enough sleep); and maybe "emotional" too (e.g. feeling happy with things as they are); and perhaps "conceit" i.e. comparing yourself to other people (e.g. "they don't, and I can be like them" -- see <a href="https://www.accesstoinsight.org/tipitaka/an/an04/an04.159.than.html" rel="nofollow noreferrer">here</a> and <a href="https://buddhism.stackexchange.com/q/9415/254">here</a>).</p>

<p>There are other "psychological" suggestions too (e.g. meditation on foulness of the body, graveyard meditation) in the <a href="https://buddhism.stackexchange.com/a/22852/254">linked topics</a>. But maybe that style or topic of sustained thought is a raft i.e. you don't need it after you arrive on the other shore (i.e. after cessation).</p>

<p>Perhaps people's bodies vary from person to person as well as from time to time, but I'm pretty sure that Buddhism considers <em>food</em> for example to be some kind of necessity, but not <em>lust</em>.</p>

<p>Maybe "the control of urges" is learned over time, e.g. growing from being a teenager to being adult.</p>

<p><strong>Do monks face this problem?</strong></p>

<p>Maybe not: the Vinaya considers it <a href="https://en.wikipedia.org/wiki/Patimokkha#Sanghadisesa" rel="nofollow noreferrer">an offence</a>.</p>

<p>Or, who knows, maybe they do: I've also read claims that few monks really live according to the Vinaya.</p>

<p>I once read of a monk (of Western origin) who suicided after complaining of priapism or satyriasis (hypersexuality), and dysentery (<a href="https://en.wikipedia.org/wiki/Nanavira_Thera" rel="nofollow noreferrer">reference</a>) -- but I hope that's an abnormal experience.</p>
 -1: <p>If you are a layperson you are not expected to abandon all of these urges apart from the actual sexual misconduct, which is mainly harm to others, and depending how people view it, might or might not include masturbation (for some claim <em>it takes two to tango</em>). You are also not expected to abandon your wife as the object of your love and so on.</p>

<p>Unless you, of course, take up Eight precepts, instead of Five. You can, however, attain a decent life full of happiness, joy and bliss getting away with just this simple way. For example, I only take Eight precepts occasionally for short period of time, i.e. a month. </p>

<p>I would not advise to overthink that and be too harsh on yourself and just try to be reasonable about it instead. Too much restriction, too quickly, and the one might get a certain extent of back pressure which causes misery. As such, especially when suppressed, things might get worse, even out of control. In short, <em>take it easy</em>, there will be time and day where you have certain enough insight in Emptiness, or shall I say, things deprived of their Self essence, that you no longer perceive women in such way.</p>

<p>Now, there are antidotes for sexual lust in Buddhism, it might be helpful to read on <a href="https://www.accesstoinsight.org/lib/authors/nyanaponika/wheel026.html#des" rel="nofollow noreferrer">overcoming Five Mental Hindrances</a> or in Mahayana, <em>Seven point cause and effect method</em>, where practitioner equalizes self and the others completely, for instance, viewing other beings as objects of deepest endearment - here, all women as our mothers.</p>

<p>But most importantly, cultivate patience in regard to such basic and powerful innate instincts, so do not tread on yourself by mistake; this is not liberation from suffering, this is applying it.</p>
