Random go to fight

i am making an rpg and i want to find a way to get fought by a monster at random… any ideas?