In general, treatment of gallstones during pregnancy is similar to the way gallstones are treated normally. There are special considerations that your doctor will have if you are pregnant and presenting with gallstones related issues. The most significant point will be the disease severity and whether surgery or endoscopy is anticipated.
If endoscopy or surgery is required, the risks of the procedure as well as the risk of sedation to you and your baby will have to be addressed. If x-rays are required during the procedure, you may need special protection such as an extra lead shield to protect your baby from radiation.
If possible, most doctor will defer the procedure to after delivery or till the second trimester to minimise any risk to your unborn child. No treatment is required if the gallstones are discovered incidentally without symptoms.