Place an interrogative particle at the beginning of the verbal sentence.
فَتَحْتَ الْبَابَ — You opened the door.
أَفَتَحْتَ الْبَابَ؟ — Did you open the door?
هَلْ فَتَحْتَ الْبَابَ؟ — Did you open the door?
The hamzah is joined in writing to the word after it, while هَلْ is written separately.