Other than inheriting the abnormal gene there are no known risk factors for developing GS. It is not related to any lifestyle habits or caused by any specific environment.
Your doctor should consider the effect of GS when prescribing medicines. Although it is uncommon, there is a possibility that lack of the UGT enzyme can have an effect on the way you respond to certain medications.