Hello and Welcome to ‘Ask A Doctor’ service. I have reviewed your query and here is my advice. Dear difficulty in passing urine and constipation may be to rule out spinal cord injuries or diabetic diarrhea etc. Urine retention may be due to prostatic enlargement or UTI or prostatitis etc. Until examination is done it is difficult to say what it is. Avoid spicy food and alcohol avoid smoking and caffeine drinks. Take high fibre diet and regular exercise. Avoid smoking and alcohol. Use Lactulose syrup at night for five days. If symptoms not improved please consult your doctor he will examine and treat you accordingly.] Hope I have answered your query. Let me know if I can assist you further.