[question word] + [verb た-form] + らいいですか [question word] + [verb た-form] + らいい? [verb た-form] + らいいですか
たらいいですか asks what you should do: "what should I…?", "where should I…?". A question word comes first, then the verb in the たら form and いいですか – literally "if I do …, will it be good?".
You are asking for instructions from someone who knows better. Among friends, ですか drops off.
Without a question word, たらいいですか checks an instruction: "is this what I do?". It does not ask permission. For "may I?", use てもいいですか.