Apart from acidity as evident from your symptoms, you must rule out Stomach/ duodenal ulcer, Gastro oesophageal reflux, & erosions in esophagus by consulting gastroenterologist and undergo endoscopy if advised by him. Get treatment as suggested by him. In the mean time you can start Pan DSR 1 tab empty stomach morning evening. Take simple bland diet without chillies, avoid fried outside food, tea & coffee. Take proper sleep & rest physical & mental, reduce stress. Go for regular Yoga Pranayam & meditation, Take frequent small meals no prolonged period of hunger. Prop up waist abovet while sleeping to prevent regurgitation of food into the esophagus. Do not take large bolus of food which will expand esophgeal wall and trigger hiccups. Take dinner at leat 2 hrs before sleeping. You have to under go regular USG for
kidney stone as frequency of urination indicates persistant problem either due to stone or urinary infection for which Urine culture & sensitivity is needed. Rule out Blood
sugar also as
diabetes also causes these symptoms with erection problem. It may laso be psychological.