Although "should" and "ought to" have a similar meaning, there is a very small difference when you use them: "should" talks about your opinion or suggestion of the obligation or advice you are given, "ought to" indicates what somebody should do. Also (I think) that "ought to" it is used in a formal or semi-formal context