First get your endometriosis treated. That is the root cause of your lack of conception. Then, if IUI does not work then go for IVF procedure. Hope this helps!
IVF procedure is the recommended solution in your case but then you need to understand that every unique. IUI procedure failure make it necessary for patients to opt for IVF.