Thank you for posting,
If 20 hours passed before you got sick there is no worry. If you're sick (vomit) within two hours of taking your contraceptive pill, it will not have been absorbed by your body. You should then take another pill right away. As long as you're not sick again, you're still protected against pregnancy. If you continue to be sick or have diarrhea (6 or more watery stools) for more than 24 hours, this can mean your protection against pregnancy is affected.