Hello,
Since you are having foamy urine, you are suggested to get urine analysis (R/E and C/S) done. Foamy urine is commonly indicative of dehydration, too much protein (albumen) in the urine,
renal disease. cystitis, UTI, etc. UTI can cause stomach issues. Take antacids or PPIs, one stat for relief.
Frequent urination may be suggestive of BPH,
bladder stone, hyperactive bladder, renal disease,
kidney infection, etc. Get clinically examined by a
Urologist. Get required tests like 24 hours voiding diary, urine flow test, PSA blood test, residual volume test etc., done so that treatment can be started at the earliest.
Take care. Hope I have answered your question. Let me know if I can assist you further.
Regards,
Dr. Nupur K., General & Family Physician