Obligation
Must is used to express strong obligation.The past is express by had to.
1.The pupils must wear a school uniform.
2.Jim had to work hard to pass his exams.
Should is used to express milder obligation.
The past is expressed by should have(+past participle).
1.You should have a rest.
2.You should have listened to my advice.