Is this okay

Is it okay to take a muscle relaxer and melatonin (helps me go to sleep) . I’m not pregnant yet but I will be trying to the next 2 weeks through IUI