Prostitutes don't all have aids but they are at a greater risk especially if they have unprotected sex of any kind or are intravenous drug users.
You were stupid, now you have to face up to the consequences, getting tested is the only way to find out if you're infected.
If you lucked out this time don't make the same mistake again & remember anyone (even someone who says they're a virgin) can have aids so take precautions.