Contractions or gallstones pain?

Y

So at 30 weeks found out that i have gallstones becausei had this super painful rolling on the floor kind of stomach pain and went to the ER to get checked out and thats what they saidi had so they sent me home with some meds to take twice a day everyday. Ok well ive had a few flares uo because i suck at talking daily meds and the pain its just as bad but tonight i woke up in pain and by the time i walkedto use the bathroom the pain Got intense so i took the meds and as soon as i laid down right after the pain went away which is weird cuz the meds takes a while to work. 20 minutes pass and i start feeling the pain coming backso i went to shower and while in the shower again pain got super intense for a few seconds and then went away... so now im confused if its possible im having contractions i didnt timed the pain cuz i didnt think of it until now that its possible it could be contractions but im not sure. Im 33 weeks now.