You should add more fiber to your diet. You can eat vegetables, fresh fruits and whole grains as they are rich in fiber. Drink plenty of water and avoid taking alcohol. This will help to smoothen the stools and ensure an easy pass through your system. You may also take laxatives or fiber supplements if you are facing issues with digestion. If still your symptoms do not improve, please consult your doctor.