How will UE know that PDSCH feedback need to be sent on PUCCH or PUSCH?

Hi All.

How will UE know that PDSCH feedback need to be sent on PUCCH or PUSCH?

Is there any parameter which indicates this?

It depends.

If the UL slot in which feedback is going has Uplink data, it will go on PUSCH.
Otherwise, PUCCH.