It would be helpful if you gave us a complete sentence when you post.
... on an English forum where someone asked when to use "I'm finished with ...".
A question word with an infinitive is the structure that I think you are asking about. It's a short form of an indirect question, often a question with a should.