Sex/Masturbation

Is it better to have Sex than to masturbate;i luv having sex but i try to control myself with girls cuz multiple sex is bad.I have been masturbating 4 months just becuz i dont want to have anything to do with my gf and girls that are interested.I need an answer on what to do pls.