THe first compound you have is an enol, and it is more stable in a keto form, which is the 2nd compound you wrote down. Generally, tautomerization occurs when you have an OH group next to a double bond(basically a enol). But remember, it only happens when there's a double bond next to it, tautomerization can never occur with a single or triple bond.