He then signed with his former team, Malaga, a contract as assistant manager of the head coach, Antonio Tapia. He left Malaga in June 16, 2010 after the arrival of the new owner Qatari Abdullah ben Nasser Al Thani. He left because he didn't have a contract and the whole team was renovated.
On September 14, 2010 he became head coach of the Panama national football team. He became Coach after the FEPAFUT chose him over the Colombian Luis Fernando Suarez. He has a contract for 10 months to coach the national team for the UNCAF Cup of Champions and the CONCACAF Gold Cup. This contract has an option to be extended to include the Qualifiers for the FIFA World Cup in function of the results obtained.