Dear P;
Nightfall is normal physiological body function. The best way to avoid it is either regular intercourse or masturbation. Every one has sexual dreams during nightfall. Dream objects varies from person to person. Dream objects are only symbol and you should not feel guilty about it.