Help this is tmi

For the past few weeks now just about any time I eat I get diarrhea. I end up spending half the day in the bathroom. (Which is kind of embarrassing) I really don't know what's wrong with me! Like some things I can eat and I'm okay but most of the time I eat and then get diarrhea. I just don't know what this could be and don't have the insurance to go to the doctor right now or I would've already gone. This just started happening out of no where! I also have been getting really bad heartburn too out of nowhere.😭 What could be going on??