Basically you should know what an acid do in a reaction -
1. It can gives (Donate) H+ Ion ( A proton ).
2. It can accept an Electron.
And just remember that -
In general , A Neutral molecule consisting of Hydrogen which is connected with a electronegative atom is acidic in nature. ( As in case of Phenol , H is connected with O )