The tilde in "señor" indicates a change in pronunciation. Without the tilde, the "n" would be pronounced as a simple "n" sound. However, the tilde tells us that the "n" should be pronounced with a palatalized "ñ" sound like the "ny" in "canyon".
So, "señor" is pronounced as "sen-yor".