You shouldn’t have asked her about their relationship yesterday.
The modal verb shouldn’t followed by have and the past participle expresses criticism of a past action.
Ответ: have asked