It is almost always preferable to check, since you do not want to compromise with the pot unless you have a play made. However, you can bet in certain situations to control the size of the pot. If you see that everyone is very passive, you can also make a small bet because in case you hit the flush it may be an insignificant pot and that you do not want to happen either.