A Fixed Cost contract is a flat fee you will pay for a specific unit of work. This is written out onto a Statement of Work ("SOW") and agreed to ahead of time.
A Time & Materials contract occurs when you choose the scrum process for your software development.