I am looking to solve the following matrix equation for G

GHG - M = 0

where G, H, and M are square, symmetric, real matrices. H is negative-definite and M is positive-definite. G should also be positive-definite. 

Is it possible? 

Many thanks!