Do I have to tell my husband before I go out?

Ruling 2430. It is unlawful for a woman in a permanent marriage to leave the house without the permission of her husband even if this does not infringe on his rights, except in the following cases: [i] a necessity requires her to; [ii] staying in the house causes her hardship (Ḽaraj); [iii] the house is not appropriate for her

https://www.sistani.org/english/book/48/2333/