How to ask in interview

How can you find out if you can work from home in an interview? Specifically how should u go about asking it. Or is this something that shouldnt be asked in an interview like salary.