sick all the time, pregnant or gallstones ?

I found out I have gallstones and I still are pretty badly, but lately I've been throwing up alot and idk if I'm pregnant or it's cause of the gallstones..i am bleeding atm but it's not my time of the month so I'm thinking I can't be pregnant. any advice ? Not sure what foods I should be eating to manage my gallstones if it is that