Alejandra had asked specifically about the police being called, so it's worth mentioning that nobody working indoors is breaking the law and you cannot be arrested just for being a prostitute.
The worst that's likely to happen is that the hotel will ask you to leave, but it's unlikely in any decent sized non-budget place unless you're making a real show of yourself. If you're worried, just make sure that you can pack your stuff and leave quickly if you're asked - it's never happened to me anywhere in many hundreds of hotel stays but there's always a first time. But the hotel won't want the police hanging about any more than you do, and it's unlikely they will call them unless you refuse to leave when requested so don't worry
.