if it's synthetic yarn, you can steam-block it with a steam iron and it will stay more or less flat. you need to make sure to hold the iron just a fraction of an inch over the scarf, not directly...