Tea and pill

This may sound stupid but can I drink tea and then take the pill after. It won't affect it will it?