Meloxicam can affect your digestive system. Meloxicam  causes inflammation of the stomach lining (gastritis), ulcer in esophagus& stomach, and 
acid reflux causing heartburn. Sometimes, stomach ulcers cause vomiting of blood. 
Advice
1.     Stop meloxciam
2.     
Omeprazole 20 mg once daily per oral empty stomach for 7 days
3.     
Domperidone 10 mg per oral when you feel nausea
4.     Avoid alcohol, smoking, spicy food, and non-steroidal pain killer for few days
5.     Do not take heavy meal at a time. divide your meal into smaller parts
6.     Raise the head of your bed
For muscle spasm in neck:
Advice 
1.     Tramadol 50 mg every 12 hours per oral for 10 days for pain
2.     
Tizanidine 2 mg every 8 hours for muscle spasm
3.     Take bed rest for few days
4.     You can use 
cervical collar for few days
I hope this information will help you. I will be happy if you ask another question
Thanks for asking question