Trying to conceive

I've had 2 children and hubby and I are wanting a third. But my periods are out of whack and I had s miscarriage three months ago... Any advice?