Drinking question

Is it safe to drink alcohol while trying? Is it safe to smoke pot and when you find out to stop? ? How long to wait until out of system ?