does endometriosis cause you to be fat?

Just read somewhere that endometriosis is what causes weight gain and just being fat? what prescription can I ask for to control my endometriosis