Rental scams questions

how do i prevent myself from scammed ? i was previously scammed trying to rent out an apartment so i am skeptical. how do i prevent this from happening again?

Firstly don’t pay anything upfront. Scammers ask for money to view the place or deposit upfront, hell no. Don’t pay anything upfront